0

I've been running FreeNAS for a while now. Hardware is 1.8 GHz Celeron, RAM 1 GB. SATA card is Via - I am not sure about the model. It's 2 ports and I have 6 x 1.5 TB hard drives.

All ran OK while running on 1.5 TB, no RAID. I'm now trying to create a RAID 5 with my 6 hard drives. Software RAID. Is it normal for it to take roughly up to 2 weeks just to build the RAID? Sorry, I'm very new to implementing RAID and googling doesn't tell much other than it takes a long time.

Also the RAID building process seems to fail many times. Going to degraded. I suspect it's because 4 of my hard drives are connected to my motherboard and the other 2 are connected to my SATA card. What's your take?

I'm considering 2 options now. Either get a 8 port SATA card and attach all the hard drives to it. Or get a RAID controller 8 portcard which is probably going to be more pricey. Also how do you access hardware RAID through FreeNAS?

I like how FreeNAS emails you should your harddrive fails. Can this be done as well with hardware RAID?

Peter Mortensen
  • 2,318
  • 5
  • 23
  • 24
  • 1.5TB is far too big to be safe and reliable in RAID 5. With six of these drives, you should seriously consider RAID 10 (1+0 not 0+1). – Skyhawk Apr 03 '12 at 06:42

1 Answers1

1
  1. You have a very weak machine to process 6x1.5 TB of data
  2. Processing so much data should and will take a very long time. Rebuilding my fakeRAID RAID 5 (4x 300 GB SATA) takes about 12 hours.
  3. If you had a RAID controller, which can offload the calculation from the main CPU, things would be much faster, although the drives are still large and slow. That means a real RAID controller, not a fakeRAID card, which is no better than software RAID, usually even worse.
  4. Proper server hardware will allow you to configure alerts via emails or SNMP, but this here is a low-end home PC we're discussing.
Peter Mortensen
  • 2,318
  • 5
  • 23
  • 24
dyasny
  • 18,802
  • 6
  • 49
  • 64
  • I see, I intentionally bought this machine as I wanted 1 that uses low power consumption since it runs 24/7. Unknown socket option IPTOS_LOWDELAY lib/util_sock.c:set_socket_options(237) I'm getting this error so I'm guessing it can't talk to the sata card? You say I'm using a weak machine, just to get an idea... what are you using to get 12 hours on roughly 900GB usable space and what should I be using for a Raid 5 with that amount of space? Sorry for the ignorance ha ha, first time dealing with raid, also say I just wait it out, would it be powerful enough then to run properly? Thanks :) –  Mar 01 '10 at 21:16
  • Well, if you run on low end home hardware, don't expect real server performance.
    The kernel message seems to be coming from samba, have a look at http://sourceforge.indices-masivos.com/support/tracker.php?aid=2894782 and http://www.twopenguins.it/2009/12/freenas-0-7-live-fix-the-annoying-iptos_lowdelay-error/
    My hardware is a quad core CPU, with an intel matrix onboard controller and 4Gb RAM
    – dyasny Mar 02 '10 at 10:45
  • Wow thanks. Hopefully that will help my softraid work... I'll just wait it out and see how it runs on this hardware if it does manage to build the raid... will update... Based on the performance I might opt for the next option. Another option would be to go for hardware raid. Do you know how this is handled? Through Bios or through Freenas itself? Been searching around for the answer but no one seems to have asked this question, probably cos its too noobish, again I'm sorry if it is since I'm pretty new to RAID. Cheers and thanks heaps Dyasny –  Mar 02 '10 at 12:45
  • If you get a proper RAID controller, you'll be able to manage it from the controller BIOS - usually you'll need to press a key combination to enter it, when prompted during POST/BOOT. – dyasny Mar 02 '10 at 14:34
  • I see, but I'm guessing it wouldn't offer the SMART features of emailing you if a hard drive fails. That's all well and good... Btw... my motherboard is a gigabyte G41MT-ES2L and it has a PCI Expresss slot for the graphics card... is this usable for a raid controller, since I recall most of the raid controllers uses PCI Express. Gonna try that script fix first then if all else fails, I'll bite the bullet... unfortunately it seems pretty hard to find RAID controllers here...thanks heaps. –  Mar 02 '10 at 14:45
  • I'm not a big fan of freeNAS, more used to Linux and not BSD, however, most of the etter controllers have a Linux API that can be scripted to check the health status via cron and email reports if required. If you used a proper brandname server, you'd have an entire software suite to do that - OMSA (for Dell), OVA(for HP) etc. As for the slot type, I really couldn't say - I haven't touched desktop hardware in a few years now, the machine I have at home excluded (and I haven't touched it much either), I mostly use brandname servers at work and laptops elsewhere – dyasny Mar 02 '10 at 15:34
  • Sigh been trying to delete the iptos_low delay by using file editor and/or file manager, accessing the var/etc/smb.conf and deleting the iptos low_delay word... shoudl I be deleting the whole thing? I then save it, but after rebooting... it still remains there... in the smb file... What am I doing wrong? Cos it seems that this is the cause to all the problems I've been having... Could you guide me step by step please? I've tried this many times already... and can't figure out how to do the scripting etc... Thanks –  Mar 02 '10 at 15:56
  • Chose not to restart and the iptos low_delay problem just stayed deleted... Hopefully if it allows me to create my softraid5 then I shouldn't have issues from there... will update you... Thanks Dyasny. –  Mar 02 '10 at 16:09
  • As I said - I don't know FreeNAS specifically, perhaps there's a bindmounted hidden directory that holds the configs somewhere, or something similar. The bug seems to be solved, according to SF, so maybe an update to the latest version of freeNAS will help – dyasny Mar 02 '10 at 16:43
  • Yeah think I'll try that... A new problem arised... My discs keep goes missing halfway through the raid building process... guess you have to be patient with experimental software... especially when you're using the more advance functions... –  Mar 03 '10 at 00:40
  • Just got the latest version... will try that out... hope it'll fix the issues... –  Mar 03 '10 at 02:33
  • sure, or you can always try openfiler – dyasny Mar 03 '10 at 08:55
  • kernel: ad1: TIMEOUT - READ_DMA retrying (1 retry left) LBA=202112 Getting this problem, not sure what is the problem... Will consider openfiler –  Mar 04 '10 at 00:53
  • LoL, seems like my problem was the power supply :p The disk was spinning down ha ha All ok now :) Oh and yeah, on my Celeron 1.8, it creates the Raid 5 Array in 12 hours for 6x1.5TB - Raid 5 Not bad huh? ^_^ –  Mar 06 '10 at 07:48
  • I didn't see your question first time around, but I run 6x1TB drives on similar hardware, and it runs just fine. Takes about 12 hours to build. So ignore whoever said that 1.8Ghz Celeron is no good - most commercial grade NAS's have that kind of processing power – Mark Henderson Apr 12 '10 at 02:09