What RAID configuration is most appropriate for a home user?

13

7

I have a computer for general home use and mild gaming (not upgraded the graphics card so still on AGPx8). It is currently configured for striped access over two 80GB disks. Is this the best option? Should I consider upgrading the size of the drives and moving to a mirrored setup or is this only really important if there is no other backup solution available? What are the driving factors behind available RAID configurations for the average home user?

Jeff Yates

Posted 2009-07-15T18:36:36.917

Reputation: 1 518

2What? Why? phsr? – bobobobo – 2009-08-08T15:52:40.847

7RAID is never a backup solution – Dan McClain – 2009-07-19T20:33:28.780

Answers

13

Depends on what you are striving for:

Raw speed: RAID0

Mirroring: RAID1

Integrity + Speed: RAID5 (one disk parity)

Notes on each:
RAID0: If you lose one drive, you lose all data
RAID1: You have to cut your total drive size in half
RAID5: You lose one drive's worth of space, and need at least 3 drives. You will need to wait for the drive to rebuild if you replace a bad drive, and during a rebuild, if you lose a second drive, you will lose your data

You can also combine RAID configs to achieve different setups (RAID10, RAID50)

All being said, if you are looking for speed, but don't care about losing data, go RAID0, if you are looking to have a backup drive incase one goes down, go RAID1. RAID5 is good if you want some speed, and to have a backup incase on drive goes.

One thing to remember: RAID is never a backup solution

Dan McClain

Posted 2009-07-15T18:36:36.917

Reputation: 609

2Note that RAID5 with n drives should be roughly as fast for READING as RAID1 with n-1 drives. However, RAID5 will be slower for writing due to the parity calculations necessary. – ChrisInEdmonton – 2009-07-25T18:16:59.230

1Fault tolerance is completely different from backup. RAID is fault tolerance. – David Schwartz – 2015-11-03T23:12:54.473

2Guys. Why do you keep saying "RAID is never a backup solution" – bobobobo – 2009-08-08T15:53:37.507

1@phsr correct me if I'm wrong, but RAID1 is can be considered a 'backup solution' only in the sense that it provides redundancy if one of the drives physically fails (which is more common than anyone would like to have to deal with...) – Josh Newman – 2010-09-23T22:48:08.310

@3rdparty: it is not redundant solution, if you frag a file that you need to recover, it will be fragged on both drives, as they are mirrored. It depends on what you mean by "backup" – Dan McClain – 2010-09-27T13:38:58.927

@phsr so basically RAID1 can only be considered "insurance" against physical drive failure, nothing else. – Josh Newman – 2010-09-27T14:38:14.447

@3rdparty: Correct, any RAID offering redundancy (any configuration other than a plain RAID0), only protects you from a hardware failure. User error resulting in data destruction (he told me to do a rm -rf / (DONT DO THAT)) from the OS will destroy all copies of the data. – Dan McClain – 2010-09-27T17:01:54.227

1Raid is never a backup solution because you can still lose your data if something "catastrophic" happens (your RAID adapter goes, or lightning strikes and fries half of your harddisks, rendering the array uncoverable – Dan McClain – 2009-08-20T01:18:57.417

1Raid will never protect you from DELETE * Backup will. – Daniel Williams – 2011-08-06T01:35:11.917

6

RAID 0 (striping) is almost never appropriate.

The statement that it "improves speed" is misleading: it improves the maximum transfer rate, but that is irrelevant in most applications (the only exception for a home user that I can think of would be video editing) as modern HDs have bulk transfer rates upwards of 70 MB/s which are more than sufficient.

What makes HDs slow is usually random seeks, and RAID 0 does absolutely nothing to improve those. RAID 1 potentially does (probably not with software RAID though), so in fact RAID 1 may speed up typical applications far more than RAID 0 - and it drastically reduces (rather than drastically increasing) your risk of total data loss.

Michael Borgwardt

Posted 2009-07-15T18:36:36.917

Reputation: 3 047

Everything about this answer is wrong. In particular, an N disk RAID 0 array can do N times as many random seeks (and thus random reads) per second as a single disk. – David Schwartz – 2015-11-03T23:14:15.717

@DavidSchwartz: I may have overstated that part, but any read larger than the stripe size will involve multiple disks, so the array definitely can't do as many random reads as the hardware is capable of. What else do you think is wrong? – Michael Borgwardt – 2015-11-04T11:04:34.860

4

I'd recommend using something with mirroring — probably RAID 1, because I don't feel like there's a great need to get fancy with a home system. Backups are one thing; degraded but uninterrupted service when one of your disks blows up is another, very worthwhile thing.

chaos

Posted 2009-07-15T18:36:36.917

Reputation: 1 599

For home use all I need is a mirror, RAID1, two drives, nothing else, so many motherboards support this now. My strategy is that I have a third identical drive that I backup to, so in case the mirror fails I get a new backup drive and use the old backup drive to fix the mirror. I'd rather use 3 drives for this than RAID5, and a stripe is only good if you don't care about the data on it. Oh, and the backup drive is only powered on during backups, so it should have a longer life than the other two that are on all the time. – Bratch – 2009-08-05T14:17:16.557

2

Raid is NOT a backup solution. It's a redundancy solution (or a performance enhancement solution if you're using it for striping). A large number of disk failures are due to environmental factors (excessive heat, etc) so assuming you can use it instead of decent back ups is not a safe bet.

If you have a RAID setup looking for a performance boost go with RAID 0 for striping. If you're doing it for backups, drop RAID and find a good online backup service.

Mark Roddy

Posted 2009-07-15T18:36:36.917

Reputation: 715

1

Before you decide on which configuration to use, you need to look at the application. Typically with a home PC, the hard drive is asked to read data more often than writing data. For example with a game, you only ever install it once which is a writing operation, but when you play the game, you constantly load levels, reading.

What most people miss with looking at RAID configurations is that RAID0 gives you a 2x reading performance as well as data security, the same reading performance that RAID1 achieves. RAID0 is only inferior to RAID1 in writing operations and storage capacity.

Since most of the time your computer is doing reading operations, i personally would go with RAID0 for it's data security and sacrifice the writing performance of RAID1 as it is not used as much.

Faken

Posted 2009-07-15T18:36:36.917

Reputation:

Yeah but, save game can take a couple of .. seconds for games like NWN – bobobobo – 2009-08-08T15:56:51.010

1

For the average home user, RAID should not even be a consideration.

arathorn

Posted 2009-07-15T18:36:36.917

Reputation: 8 559

RAID 1 sounds reasonable. I'm willing to spend $100 for a second drive to automatically mirror my data. – bobobobo – 2009-08-08T15:55:39.127

1

With striped you get faster access and all you space. With Mirror you get data redundancy and half your space. What is more appropriate depends on your needs.

If you want to read more detail info, go here to wikipedia.

From there: "RAID 0 (striped disks) distributes data across several disks in a way that gives improved speed at any given instant. If one disk fails, however, all of the data on the array will be lost, as there is neither parity nor mirroring."

"RAID 1 mirrors the contents of the disks, making a form of 1:1 ratio realtime backup. The contents of each disk in the array are identical to that of every other disk in the array."

jvanderh

Posted 2009-07-15T18:36:36.917

Reputation: 592

0

A NAS running RAID1 is a good solution (regardless of what some say) as long as it is not you only backup. Use Raid1 and backup to another large drive weekly.

Wayne Hughes

Posted 2009-07-15T18:36:36.917

Reputation: 1