Do you use RAID?

Submitted by trollll on Wed 3 Sep 2008

Tags: , ,

 

RAID 0  <-> 8%222 votes
RAID 1  <-> 26%683 votes
RAID 2  <-> 0%8 votes
RAID 3  <-> 0%4 votes
RAID 4  <-> 0%6 votes
RAID 5  <-> 24%628 votes
RAID 6  <-> 3%93 votes
Nested combination  <-> 6%163 votes
No  <-> 29%770 votes
Total 2577 votes

Posted by Nilshar (195.200.xx.xx) on Wed 3 Sep 2008 at 10:56
[ Send Message | View Weblogs ]
I use raid 1 for system partition, and raid 5 for storage.

[ Parent ]

Posted by Anonymous (76.115.xx.xx) on Wed 3 Sep 2008 at 21:19
I try to stick to RAID-10 whenever possible. If cost is an issue, I will go with RAID-1. I have yet to find a reason to go with RAID-5. If I can afford more than 2 drives, I will get 4 drives and go with RAID-10. RAID-5 rebuilds always take so damn long, and seem prone to problems.

[ Parent ]

Posted by Nilshar (195.200.xx.xx) on Thu 4 Sep 2008 at 09:10
[ Send Message | View Weblogs ]
You still got more space with raid-5 than raid-10 with the same amount of drives. That's why I prefer raid-5. And with a raid-5, you can easily grow your storage space.
But you are right about the issues on raid-5, rebuild are very long, and problems can come fast if you not carefull.
When I loose a drives on a raid-5, I immediatly shutdown the raid and get in back online only for the rebuild, because degraded raid-5 is very bad for the drives.

[ Parent ]

Posted by Anonymous (76.115.xx.xx) on Thu 4 Sep 2008 at 23:55
RAID-10 can be expanded on some controllers, such as the PERC 5 and PERC 6 from Dell. You simply add another mirror and tell the controller to stripe across it as well. Or so I have been told...

[ Parent ]

Posted by daemon (146.231.xx.xx) on Wed 3 Sep 2008 at 22:28
[ Send Message | View Weblogs ]

I'm quite surprised by the number of votes for RAID 0. The only place I'd really consider using it is for fast, throw-away storage, like a squid cache... Other than that, I'd have thought it's a lot more niche than the numbers seem to suggest.

Cheers
:wq

[ Parent ]

Posted by Anonymous (84.58.xx.xx) on Fri 5 Sep 2008 at 16:03
Raid0 is my choice for workstations
Raid1 for the system,
Raid5 for storage
Hardware Raid6 on my new Storageservers

[ Parent ]

Posted by daemon (146.231.xx.xx) on Sun 7 Sep 2008 at 22:10
[ Send Message | View Weblogs ]

But what benefit do you really get using RAID0 on a workstation?

If it's a matter of having the effect of a single large block device, I'd prefer to use LVM, as it's far more flexible.

If it's a matter of speed, what are you doing on a workstation that really needs that little bit of extra disk speed, and what makes it worth the potential issues of RAID0?

Just curious really, nothing else.

Cheers.
:wq

[ Parent ]

Posted by Anonymous (80.69.xx.xx) on Mon 8 Sep 2008 at 06:41
My workstation has two old harddrives - each has areading performance of ~45 MB/sec.
With Raid0 I almost have 80 MB/sec! In my opinion fast harddrives are better then a current CPU, plenty RAM ist good, really plenty RAM ist even better ;)

[ Parent ]

Posted by daemon (146.231.xx.xx) on Mon 8 Sep 2008 at 11:07
[ Send Message | View Weblogs ]

~80 MB/sec is nice, but that's just read speed isn't it? What's your write speed? My guess is that it'll be the same, or slightly worse, than a non-raid volume of the same age...

So it might be good for watching movies, but not necessarily for rendering/transcoding (home) movies.

I guess it all depends on what you use the hardware for...

Cheers.
:wq

[ Parent ]

Posted by Anonymous (85.141.xx.xx) on Sun 7 Sep 2008 at 13:06
I use RAID-0 on my home pc, + I carefully backup all data

[ Parent ]

Posted by Anonymous (69.30.xx.xx) on Thu 4 Sep 2008 at 23:42
For postgresql, put system and the pg_xlog directory on RAID1, and your main pgsql store on RAID10.

[ Parent ]

Posted by undefined (192.91.xx.xx) on Fri 5 Sep 2008 at 18:38
[ Send Message ]
the follow-up poll should be: what raid controller brand do you use or do you use linux software raid? i want to know what raid setup (hardware or software) and vendors (if using hardware raid) are best?

[ Parent ]

Posted by Anonymous (159.50.xx.xx) on Tue 9 Sep 2008 at 08:58
On a machine which is my server and workstaion, I use RAID1 for sensitive data and store backup. and RAID0 to use old disk as a big one for temporary download and storage . /etc is targzipped to raid1 regulary.

[ Parent ]

Posted by madduck (130.60.xx.xx) on Tue 9 Sep 2008 at 14:31
[ Send Message ]
RAID 4 with the parity partition on RAID 1...

[ Parent ]

Posted by Anonymous (81.56.xx.xx) on Wed 10 Sep 2008 at 00:39
hye,
i use only raid 0 for performance
:)

[ Parent ]

Posted by Xeeper (87.195.xx.xx) on Wed 10 Sep 2008 at 08:01
[ Send Message ]
We have several RAID configurations. For the development machines we use mostly RAID 10. We have benchmarked a RAID 10 and a RAID5 (4 drive) array and the RAID10 was a bit faster, while both 'support' a drive failure.

On production, the database and mailserver uses a RAID50 (a striped RAID 5 array of 2 x 5 drives and both array's have a (hot)spare). Webservers use plain old RAID5.

My workstation has two (SATA2) WD Veliciraptor (15000 rpm) 150GB disks in RAID0.

We do not use RAID6 because that would require 2 parity disks (that way you can recover from two harddisk failures at the same time) and you need to really use a lot of data disks to 'justify' 2 parity disks. I mean in a 5 disk array you loose 40% of the possible space and the SCSI drives aren't cheap.

I wonder who uses RAID6 in production systems and even more why they chosen to use it.

[ Parent ]

Posted by Anonymous (89.190.xx.xx) on Wed 10 Sep 2008 at 11:29
Megaraid SAS on Dell Poweredge

[ Parent ]

Posted by Xeeper (87.195.xx.xx) on Wed 10 Sep 2008 at 12:41
[ Send Message ]
I mean more, why did you (or your company) chosen to use RAID 6 over RAID 5. What was the reason? Almost every (professional) RAID controller has the ability to create and use RAID 6 arrays. But as I ask in my original comment how did you justified the costs of the extra (expensive) parity disk? Why not use a RAID 5 with hot spare. We use 140GB SCSI disks, they cost a lot of money and i cannot justify to buy 2 'drives' that normally don't do anything. On the minimum set of 4 drives you loose 50% disk space to parity. Also you loose a lot of writing performance because of the double parity data that have to be written to all disks. Read performance of RAID 5 and 6 are equal.

Risk calculations (based on MTBF of 1M hours and a 2 year hardware (12 drives) cycle) set the risk that one drives fails theoretically at 0.21%.

[ Parent ]

Posted by Anonymous (82.65.xx.xx) on Sat 13 Sep 2008 at 16:23
Risk calculations (based on MTBF of 1M hours and a 2 year hardware (12 drives) cycle) set the risk that one drives fails theoretically at 0.21%.

Have you read the papers published for the 5th USENIX Conference on File and Storage Technologies (february 2007) ?

    That ones in particular:
  • Disk failures in the real world: What does an MTTF of 1,000,000 hours mean to you?, Bianca Schroeder, Garth A. Gibson (Computer Science Department Carnegie Mellon University) http://www.usenix.org/events/fast07/tech/schroeder/schroeder_html /index.html Quoting the abstract:
    The mean time to failure (MTTF) of those drives, as specified in their datasheets, ranges from 1,000,000 to 1,500,000 hours, suggesting a nominal annual failure rate of at most 0.88%.

    We find that in the field, annual disk replacement rates typically exceed 1%, with 2-4% common and up to 13% observed on some systems. This suggests that field replacement is a fairly different process than one might predict based on datasheet MTTF

  • Failure Trends in a Large Disk Drive Population, Eduardo Pinheiro, Wolf-Dietrich Weber and Luiz Andre Barroso (Google Inc.) : http://labs.google.com/papers/disk_failures.pdf

Every sysadmin concerned about raid and hard drives lifetime should read them.

regards, Xavier

[ Parent ]

Posted by Xeeper (87.195.xx.xx) on Mon 15 Sep 2008 at 08:55
[ Send Message ]
Well, one of the (pre) conclusions are 'Many have criticized the accuracy of MTTF based failure rate predictions and have pointed out the need for more realistic models.' And as long nobody comes up with a better model, the only risk calculation we can perform are based on de MTBF. The maximum lifespan of our production systems is 3 years. Most database servers last only 18-24 months.

Nevertheless my question was who uses RAID6 and for what reason. RAID6 can recover from 2 harddisk failures at the same time on the same array. That's the only benefit over RAID5. But for the double parity storage you loose another disk and performance is affected. What's the chance that a second disk fails before the generation of the first disk (using the hot spare) is finished?

In my book RAID6 can only be used in environments where reliability is far more important than performance and costs.

[ Parent ]

Posted by mcortese (213.70.xx.xx) on Wed 17 Sep 2008 at 11:26
[ Send Message | View Weblogs ]
Risk calculations (based on MTBF of 1M hours and a 2 year hardware (12 drives) cycle) set the risk that one drives fails theoretically at 0.21%.

Sorry, but how do you calculate the probability that a disk fails within a year only knowing the MTBF? According to my statistics knowledge, the mean of the distribution is not enogh, you need the standard deviation as well.

[ Parent ]

Posted by Anonymous (131.137.xx.xx) on Thu 18 Sep 2008 at 13:49
The problem with RAID 5 is the rebuild issue if one disk fails. When one drive fails the other drives get a serious workout while the array rebuilds which risks a second drive failure. RAID 6 mostly gets around this problem. At least it lessens the risk. There is not much difference running RAID 5 + 1 Hot spare like you do, and running RAID 6. Both schemes use an extra drive.

[ Parent ]

Posted by Xeeper (87.195.xx.xx) on Thu 18 Sep 2008 at 14:47
[ Send Message ]
RAID 5 + 1 Hot spare vs RAID6 looks the same, but there is a important performance issue. In case a a drive failure, the RAID contoller will regenerate the missing drive on the hot spare. After the drive is regenerated, the RAID5 array is at full speed again. When a drive in a RAID6 array fails, the missing data is always (re)calculated. You can work around this by using also a hot spare on the RAID6 array (7 drives).

As stated in my other replies, can you justify the extra costs for RAID6 over RAID5. Or; how much are you allowed to spend to minimize the risk of a second drive failure during the regeneration. We have only 1 RAID6 array and that one belongs to the administrative/financial department. All other systems (database, webserver, etc) are loadbalanced (a RAID5 with two failure can be taken out the pool without too many problems).

[ Parent ]

Posted by simonw (84.45.xx.xx) on Wed 10 Sep 2008 at 21:21
[ Send Message | View Weblogs ]
Has everyone read the documents from Oracle about running using RAID 10 everywhere? They call it SAME (Stripe and Mirror Everywhere).

Very few people should need RAID 5 these days, I mean with Terabyte storage devices at under 100GBP (200USD), unless you are running a Large Hadron Collider, or trying to solve chess the hard way....

[ Parent ]

Posted by Anonymous (82.11.xx.xx) on Wed 17 Sep 2008 at 19:10
My personal server is currently a software RAID6 with 9 300GB drives. It's now nearly full, and I'm in the process of building a new machine which will have space for 5 drives, which will need to be larger (possibly 5 1TB drives), so RAID5 will do.

[ Parent ]

Posted by ajt (195.112.xx.xx) on Sat 13 Sep 2008 at 15:38
[ Send Message | View Weblogs ]

The work Linux systems use HP/Compaq hardware mirroring (RAID1). It seems to work well and when a disk dies the array keeps running and automatically rebuilds when we hot-swap in a replacement disk.

At home I've mostly only used single disk systems with back-up and never actually had a problem. When I got my newest system I want for Linux Software RAID1 and then use LVM2 on-top. In theory you can just use LVM2 and let it do the mirror, but I couldn't find a good explanation so I didn't bother.

--
"It's Not Magic, It's Work"
Adam

[ Parent ]

Posted by Ryan52 (75.150.xx.xx) on Sun 14 Sep 2008 at 02:29
[ Send Message ]
this poll is missing RAID 10. you might think that RAID 10 is just RAID0 on top of RAID1, but with linux software raid, it is not.

[ Parent ]

Posted by mcortese (213.70.xx.xx) on Wed 17 Sep 2008 at 11:01
[ Send Message | View Weblogs ]
What do you mean?

[ Parent ]

Posted by Anonymous (92.233.xx.xx) on Thu 18 Sep 2008 at 16:48
Raid 10 for database servers, Raid 5 for storage and iSCSI to connect it all together!

[ Parent ]

Posted by Anonymous (89.102.xx.xx) on Thu 18 Sep 2008 at 22:30
RAID 0 on 2 personal workstations (WD Raptors and WD Raptor+Velociraptor) because of performance. Daily backup to 2. backup drive and weekly backup to server with RAID1 :-)

[ Parent ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search

Poll Archive

View Prior Polls