LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-07-2009, 02:40 PM   #1
pwjohnston
LQ Newbie
 
Registered: Jul 2009
Distribution: Fedora/CentOS
Posts: 20

Rep: Reputation: 1
RAID 5 VS RAID 10 for home NAS


So you (or I as it were) are building a home NAS. You have a case that holds 4 SATA drives, any size. Focusing on data preservation/recovery over performance/size which would you pick and why? (It might also be helpful to note that I’m attempting this with openfiler linux so I’ll either be formatting the disks with ext3 or XFS.)
 
Old 08-07-2009, 03:03 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
RAID10 is superior to RAID5 because it can survive 2 disks failing at the same time whereas RAID5 can only survive one failing.

However, with only 4 disks other things come into play:
1) It seems you'd be more likely to lose the right 2 disks at once.
2) If you use all 4 for the RAID set you won't have hot spare. This means you'll be at risk (especially in RAID5) until you get the new drive replaced so you need to know how long that will be and if you're comfortable with that.
 
Old 08-07-2009, 10:56 PM   #3
cmdln
Member
 
Registered: Apr 2009
Location: Lawrence, KS
Distribution: Debian, Centos
Posts: 108
Blog Entries: 1

Rep: Reputation: 25
Raid 10 can support more failures ad stated above. It's also faster and typically deployed for database applications. As another alternative you can look at raid 6 which is similar to raid5 but can sustain 2 simoltaneous disk failures.
 
  


Reply

Tags
nas, openfiler, raid



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Free NAS how do you make many drives look like one without raid!! Also a VPN Problem! tysonmax20042003 Linux - Server 2 06-05-2009 04:32 PM
LXer: Tutorial: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 08-14-2008 11:20 PM
Large RAID Partition for a NAS batfastad Linux - General 3 07-06-2008 09:10 AM
LXer: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 02-26-2008 09:40 PM
Recommendations for SOHO Linux RAID NAS hardware atulc Linux - Hardware 4 05-04-2006 05:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration