Advice Needed on Software RAID on a Server

garyc

Executive Member
Joined
Jun 30, 2010
Messages
5,157
Reaction score
3,584
I am going to be setting up a home server for centralized file storage. This will be running under Linux with four discs in software RAID 1 or 5. One concern is long term stability of the RAID array. Is it worth getting enterprise class discs with TLER / ERC or will ordinary consumer discs do the job? I have heard that mdadm does not drop a drive if it is stuck for more than 7 seconds, so will this feature make any difference at all?

In order to ensure stability, what is the better software RAID option – 1 or 5 (also bearing in mind that I am a novice at setting up RAID)?
 
Raid10 would be a better consideration for speed and redundancy,the redundancy benefit of RAID5 is pretty much outweighed by the danger of data loss after a single drive failure ( while the array is being rebuilt after a drive failure the extra strain could cause a second failure breaking the array not to mention the speed loss while rebuilding ). Consumer SATA disks will do fine in a low-load environment,try to get drives from different batches to avoid cascading failures
 
Just consider the MTBF(Mean Time Before Failure) on these consumer drives - 300 000 hours, were "enterprise" drives have 1 Million hours MTBF.
The price premium on the SV drives(Seagate) are not that big seeing you get more that double MTBF.

Have a look at this website. get the SV data sheet and have a look
http://www.seagate.com/www/en-us/pr...ries/?intcmp=bac-en-us-home-hero1-sv35-series

In my opinion Enterprise drive are the Constellation ES (Seagate) and SAS drives... But their prices are ridicules.

Also.... Cooling. make sure they keep cool... drives hate Heat!
 
I am going to be setting up a home server for centralized file storage. This will be running under Linux with four discs in software RAID 1 or 5. One concern is long term stability of the RAID array. Is it worth getting enterprise class discs with TLER / ERC or will ordinary consumer discs do the job? I have heard that mdadm does not drop a drive if it is stuck for more than 7 seconds, so will this feature make any difference at all?

In order to ensure stability, what is the better software RAID option – 1 or 5 (also bearing in mind that I am a novice at setting up RAID)?

Hey gary,

Im much in the same shoes at you at the moment, creating a file storage server with some sort of raid to server the 3 media players in the house as well as store some backups of photo's etc.

I have done a little research on the topic and have steered away of hardware raid due to the costs and also possibility of loosing all my data due to failure and being unable to rebuild the array! I have opted to do research on software solutions and have stumble on two products that suit my needs. Unraid(Free ver only support 3drives, so its basically paid version, mature product) and Flexraid(Free, documentation is all over but its there). Ill just give a run down what i have found out about the two pieces of software and what has made me interested in them.

I originally found unraid which seemed to fit all my needs, but later i thought this isnt what i need because i found something better. Just a couple reason i didnt like unraid, you cant run other apps with it (ie downloads, jubebox etc), it costs money.

I then found flex raid which seems to fit my need(granted the project is still under way so its far from complete but this is what i will be using), the reasons why:
-Its Free
-Data isnt stripped and it can run on windows and linux(meaning that your file format is kept ie ntfs, so if you ever decide one day you dont want the array anymore you can pull the drives out of you computer and stick them back into a windows pc and it will work 100%)
-It can run on windows (I plan on using Windows home server 2011) ( allows me to run other media related applications)
-Can specify as many parity drives as you want(1per max drive failure, i would only use one)
-Has data pooling feature (Can pool all ur data to show as 1 virtual drive)
-If two drives do fail you only loose the data on those two drives, all other data is still accessible
-Does rely on expensive hardware
-can add drives on the go, so if you run out of space just stick in a new drive and update parity!

A few negatives to some people:
-Not as much documentation as unraid(but there is support in that the product is still being developed and people post on the forums regulary)
-Not live parity(live is in beta version) (doesnt create parity as you copy data, but to me this isnt a big downside as this will slow down the pc, it set by shedualer which you can run once an evening or twice a day, which means ur data loss if ever is limmited to a day)

Its just something else to consider! Here are some threads were you can get more information:
http://www.avforums.com/forums/networking-nas/1429720-tims-7-24tb-tiddler-unraid-nas.html - Build with UNRAID
http://wiki.flexraid.com/ - Flex Raid Wiki
http://www.openegg.org/forums/forums/list.page - Flex Raid forums

Disclaimer: Im also a total noob when it comes to raid but i have done a fair bit of reading, and the above are just my thoughts!

EDIT:

Some things to add, you dont have to start off with clean drives, they can be full of data!
 
Last edited:
Thank you for all the inputs; they have helped to clarify things. This has led to a lot of further reading, and I have a couple of extra questions / comments.

The suggestion on RAID 10 looks like a good one. I was wondering if it offers a speed advantage over RAID 1 when accessed through an 11n wireless network – will the drives still be the bottleneck or will it be the network?

I had not thought about using the SV drives, but after looking at the prices I will definitely be getting these.

Thanks for the info on FlexRAID. I had not seen this before and it looks like a highly adaptable system and the disc pooling is nice. This looks worth a try on the test system that I will be running prior to the final machine being set up.
 
1. RAID system must have a feature in telling you which drive is faulty.
2. Same RAID system must allow you to pop in a new HDD and continue working without losing your current RAID setup.

Benefits of software RAID - in theory it will work on all sorts of motherboards, no matter what CPU's or chipsets these do have. Whereas hardware RAID is limited to the RAID storage controller.
Limitations of software RAID - uses CPU cycles. This should be acceptable on a server which doesn't get "hit" with file requests often.

And do test it properly - especially the "failed disk" scenario. ;)
 
-series[/url]Also.... Cooling. make sure they keep cool... drives hate Heat!

I find that drives like being cooled down far less than they dislike heat.

I've found that when a server, having run for a long time, is switched off for a few hours, it is far more likely to suffer a drive failure upon being powered on again, versus spontaneous drive failure while running.
 
Maybe look at http://freenas.org/

Though have to admit, with a mede8er and 4 other pc's in the house playing media directly from my media server I have never ran into speed problems, and this is simply sharing via SAMBA: not sure I would ever need to go full raid for 'domestic' purposes ...

Media server: Gentoo 2.6 with 4 TB LVM array and 1 GB NIC.

Sorry: What I meant to say by the above is just this: Are you entirely sure you want / need RAID? Otherwise a proper backup strategy with a normal file share might work out easier / cheaper.
 
Top
Sign up to the MyBroadband newsletter
X