I want to RAID 5...what do I need to know? is it worth it? newbie here

moomoopro

Distinguished
Jun 20, 2008
105
0
18,680
Well I want to use RAID 5 with my new 2k computer build as I heard it is the best RAID compared to the others. With RAID 5 you get both the speed and reliability. In Raid 0 you get the speed but you can lose data quickly. In Raid 1, you gain the reliability but you lose half your space(and lose speed i think?).

I was thinking about putting 3 of these wd 640gb hardrives together in raid 5. http://www.newegg.com/Product/Product.aspx?Item=N82E16822136218

But I heard you need a controller(wtf?) to use raid 5...is that true?

What else do I need to know?

I also read somewhere that raid 5 isn't really praticial for consumers and if it would be better to use Raid 0+1 or something like that.

Anyone know raid here? I need help lol. I thought most motherboards come raid equipped? and if it matters i am thinking about doing this mobo http://www.newegg.com/Product/Product.aspx?Item=N82E16813136042

 

rozar

Distinguished
Jun 7, 2007
345
0
18,780
Why do you want RAID? What are you hoping to gain with RAID? Yes RAID 5 will offer more throughput than a single drive but will have worse access times for instance. RAID 5 is mostly used for data redundancy so the failure of 1 drive will wipe out your data. If this is just a desktop PC you might want to do something different even if you do store valuable data on this system.

In my system I use a single drive to boot and load apps, and I also have a RAID 5 array for my important data. I also have a server with much more space on it but thats another story.
 

russki

Distinguished
Feb 1, 2006
548
0
18,980
Like rozar mentioned, you need to know precisely this:

Why you want RAID 5, or anything for that matter.

Is it just because you heard that it's "teh shiznit"?! In that case, google RAID 5, read up on it, understand what it gives you, and ask yourself if you need it. Also would be good to google pros / cons of it, or some such stuff.

Read up on why it exists and where it is most used.

And I think you will answer your own question.

I keep saying this to people like you - it's probably not a good idea to get technology you don't understand. Educate yourself first / get the technology second.

Edit:

Here's the thing, in case I didn't make myself clear. I'm not slamming you.

But any system planning / design should start at the problem, and end at the solution.

As in - figure out what you need. Do you need storage? Do you need fast storage? Do you need large storage? Do you need redundant storage? Do you need storage back up? What use pattern do you anticipate?

The answers to these questions will determine the solution. There are various products out there designed to address these various needs, it's a matter of matching the best one for your specific need.
 

pinaplex

Distinguished
Aug 21, 2007
474
0
18,860
unless you need uninterrupted protection from hardware failure, then you really don't need to go with raid. just go with single drives, and a good backup. period.
 

Kaldor

Distinguished
Jul 13, 2006
552
1
18,990
That DFI board will handle RAID 5. But what the others have said is pretty much true.

I use a raid 5 setup with 4 500 gig Seagates, in my file server/storage box. I store stuff here I do not want to lose, documents, movies, pics, DVD and CD images, that kind of stuff. I also keep a spare HD on hand in case I lose a HD in my array and need to pop in a spare and then I replace my spare immediately so I am ready in case it happens again.

My main PC uses a single 250 gig HD. However my next PC will probably use 2 250 gig Seagates in RAID 0 for a nice speed increase. RAID 0 is fast, but if you lose a HD your boned, thats why all the important stuff goes on the server.
 

moomoopro

Distinguished
Jun 20, 2008
105
0
18,680
Yeah like I said Im a noob and not sure if I fully understand raid 5. From what I understand, I want RAID 5 because you can redundancy while retaining disk space(maybe a slight boost in performance? than a performance of a regular hardrive; not sure about this though)

Lets look at RAID 0. RAID 0 splits data accross 2 disks significantly increasing the performance of the hardrives rather than having them as separate drives. However, the downside to this, is that you get NO data redundnacy.

Now lets look at RAID 1. RAID 1 takes the data and makes a carbon copy by mirroring the data. While this is good because you get the reliability warranty, you lose half the disk space. It is also costly if you want reliability and want the disk space.

Now lets look at RAID 5. RAID 5 uses 3 or more hardrives and distributes parity data accross all of the hardrives. This way you can lose any hardrive and still have data redundancy. Because contrasing from RAID 1, you seem to get MUCH MORE space. It seems to be a much more cost effieicent way of having that reliable redundancy. You also get the performance of the RAID 0 as well. The read performance of RAID 5 almost matches RAID 0. It is much more cost effieceint that RAID 1 as you only lost like 25% rather than 50% of the data.

So basically RAID 5 is the best of both worlds right? RAID 5 combines the peformance of RAID 0 while retaining the redundancy of RAID 1?

You see this is the reason why I want RAID 5. In this day and age of computers, hardrives die all the time. I don't want to be constantly worrying about backing up data because I won't know when a hardrive will die. I would rather not have to worry about that. With RAID 5, as long as 2 drives don't die at the same time(extremely unlikely), I will have 99% redundacy and never have to resort to backup methods.

Sorry for not being exactly clear in my first post...but from what I understand(although I may be wrong on my research) this is what I want. What else do I need to know. Is my information correct?

Without RAID 5 (or RAID 1 I guess) you always have a chance of losing your data, and I never want that to happen ever again. I've had bad experiences with that.

Anyhow, thanks!
 
As a guess, if you need to ask the question, you don't need raid.

There is generally no real world(vs. synthetic transfer rate benchmarks) performance advantage to raid of any kind.
Go to www.storagereview.com at this link: http://faq.storagereview.com/tiki-index.php?page=SingleDriveVsRaid0
There are some specific applications that will benefit, but
gaming is not one of them. Even if you have an application which reads one input file sequentially, and writes
it out, you will perform about as well by putting the input on one drive, and the output on the other.

The value of raid-1 for protecting data is that you can recover from a hard drive failure quickly.
It is for servers that can't afford any down time.
Recovery from a hard drive failure is just moments.
Fortunately hard drives do not fail often.
Raid-1 does not protect you from other types of losses such as viruses,
software errors, operator error, or fire...etc.
For that, you need EXTERNAL backup.
If you have external backup, and can afford some recovery time, then you don't need raid-1.
 

russki

Distinguished
Feb 1, 2006
548
0
18,980
"What is a z-j?"

"If you have to ask, big man, you can't afford it..."

What geofelt said.

PS. Google is a powerful tool. Wikipedia - or wherever else you got the definitions from - not so much. It's even incorrect at times...
 

Kari

Splendid
I don't understand why people are so damn negative about raid, I'm thinking about getting myself raid5 array for my next build later this summer. The reasons are pretty much the same as moomoopro's, extra speed and data redundancy without too much wasted space.
And I was eyeing the exact same HDDs as well. :D Those are 2 platter drives and are pretty fast just by themselves, put 3 or 4 of them in RAID5 and you got yourself a winner. and not too expensive.

but yeah, some mobo chipsets will usually support raid levels 1, 0, 1+0 and 5. Depends on the southbrigde, intels ICH9R where R stands for raid support, can handle them nicely.
You'll get better options and slightly better performance with dedicated raid controller PCI(-e) cards though

according to wikipedia you'll get nearly the same read performance with raid5 as in raid0 array with same number of drives, write performance isn't as good though. Available size is (N-1)*Smin, where N is the number of drives in the array and Smin is the size of the smallest drive.
 

tleavit

Distinguished
Jun 28, 2006
145
0
18,680
If you can afford it, do it. If you store vast amounts of data (specifically media servers) then its really your only option. I’m currently blowing out a 1.5 TB raid 1 and I need redundancy so I’m looking at 4 x 750 gig sata drives for raid 5 (2.1ish TB in the end). I even tried a 1 TB WD External USB drive for backups but it gets blown out. Its a completely viable option if you want *more* data protection and money isn’t much of an issue. There’s good reasons why servers use raid, in the past 15 years I can’t tell you the number of times I have had my career saved by raid when a drive pops. Not one disaster yet! But it you are just talking about less then 500 gigs of data, just buy a 500 gig drive and a 500gig USB drive that you connect just to back up the HD on occasion.

 
I don't really "get" RAID in a PC anymore. What good is having your data backed up on a 2nd drive if something happens to your PC ? You can't access your data if applying the latest service pack fudged your box. RAID on an NAS is another story. If my machine goes south for whatever reason, I can access the NAS from any other box on the network. In an NAS, fewer parts means fewer things to go wrong.

RAID also has some sophistication that, if you are asking the questions you are, it might not be a good idea. Infrant's (now Netgear) RAID-X technology is much simpler from an administration standpoint. A drive fails, you pop in a new one and it auto rebuilds and doesn't care if the replacement is the same size.

I used to build SCSI based RAID boxes but now I just build single drive systems with fast drives and store all office and personal data files on our 9 box SOHO network on an Infrant (Netgear) NV+. Of course the NAS is in turn backed up and, short of a fire or terrorist attack, I can recover any file in seconds. Recovery from a fire would take me an hour or so.
 

russki

Distinguished
Feb 1, 2006
548
0
18,980


That's pretty obvious.

Please stop quoting wikipedia as a reliable source. At one point it said that the population of African Elephants has tripled in the recent past, in the end.

And read some reputable sources, such as the storagereview site referenced above. Maybe then you'd understand why the idea of software (onboard) RAID5 is fairly ridiculous, particularly on the desktop.
 

moomoopro

Distinguished
Jun 20, 2008
105
0
18,680
ruski, please stop telling me to search and instead help me. You seem to know a lot but you are not giving me information when I am providing enough information. You say search google, well guess what...wikipedia have the top 2 results. Whether or not you have had bad experiences with wikipedia, you have to admit, most of the information present(at least on the raid article is correct). So I don't really understand why you are discrediting it. Have you even read what wikipedia has to say? It pretty much matches the information found on "reliable sites" such as storagereview. Although wikipedia may be wrong on some accounts, can you please point out what is information is truly incorrect? It would help me out tons. *Note* I am not being sarcastic, I am serious. It would actually help me out and I'm sure others. Instead of searching aimlessly, you can just tell us!



Please tell me WHY exactly raid 5 is impractical on a desktop setup! I have enough bays and enough hardrives to do so, why should I not?



jack, This is why you partition your hardrives. If you make a partition for only your OS and you mess up your system by installing the latest service pack, nothing will to your other data. Only that partition which contains your OS will be corrupted.



Isn't that what RAID 5 does? 1 hardrive dies, you just have to pop in another one and it will rebuild automatically since it has parity information on all drives not just 1. What is so advantageous of RAID-X technology?

The ONLY downside I can see with RAID 5 is the write performance is hindered.



How much slow down will you get from using software RAID 5? Is it really that significant? Any benchmarks or tests on this?

What kind of stripe size is recommended. Also, does anyone know how much slow down a system will experience. Anyone have any percentages or benchmarks? Also when? Just when saving files, installing or what?



This is exactly what I want. russki, do YOU suggest I use RAID 5? Or are those other various products that are better designed to fit my needs?

Also what are some examples of write-intensive applications? Is the slowdown really that noticable? Or is it more of in a server environment that it is noticeable?

And the raid controller on my motherboard, is that is a hardware controller? Its just not a dedicated pci-e raid controller? Will it be good enough? Or would you guy recommend a dedicated pci-e raid controller? Will there really be a significant difference between a dedicated one than one from a motherboard? Is there another motherboard that comes stock with a better controller???

Thanks!
 

I haven't checked Wiki lately, but it had perfectly accurate RAID info as of around 6 months ago (last time I checked). If I have a little time, I'll look over the wiki RAID article later and see if I can spot any problems right now, but on the whole, for factual information like this, I have found wikipedia to be quite reliable.


RAID 5 without a dedicated RAID card is somewhat slow on writes, especially small writes. It flies on reads, and does have a benefit in capacity and redundancy, but the write performance suffers due to the parity calculations. This is especially true when writing files smaller than the stripe size, as in this case, it has to write the new file, read the rest of the stripe, do the parity calculations once it has the full (new) data in the stripe, and then write the parity sector, while in RAID 0 or 1, it simply has to write, not do any reads or calculations. If some speed loss on writes is acceptable to you to gain more capacity and read speed than RAID 1 while having more redundancy than RAID 0, then RAID 5 could be right for you.



Well, RAID 5 does require a drive of the same size as the one that failed (or, more accurately, it can use a larger drive, but will only utilize as much space on any one drive as the smallest drive). If this so called RAID-X can use varying size drives, and fully utilize all the space, that is a benefit.



Read performance is almost unhindered as compared to a full hardware implementation, with the exception of high queue depth I/O, but write performance will be significantly degraded compared to a full hardware operation, especially with small random writes.


I don't know what the ideal stripe size is - I tend to go with the default. As for the RAID controller on your motherboard, I can almost guarantee it is not a dedicated hardware controller, as those tend to go for hundreds of dollars by themselves. As for write intensive applications? I have noticed that installations are quite slow on my only RAID 5 system, and sometimes, the slowdown is noticeable. Is it horrendous? No, but in the future, I would still probably go with RAID 10 instead. You lose some capacity, but the gains in write speed would probably be worth it for me, and there is still redundancy. If you want capacity over speed though, RAID 5 is the way to go. Also, keep in mind that RAID 5 scales well, so a 4 drive array would be quite a bit faster than a 3 drive array.

EDIT: darn, this board uses different default quote tags than every other board I'm on.
 

moomoopro

Distinguished
Jun 20, 2008
105
0
18,680
Thank you so much for the response Cjl! You were very helpful. And I agree RAID 10 seems like it would be really good. It truely combines raid 1 and raid 0 lol. And it seems like there are indeed more faults of raid 5 that are commonly overlooked ( I suggest reading http://www.miracleas.com/BAARF/RAID5_versus_RAID10.txt). Nevertheless, I still think raid 5 is still a viable option.

What setup do you have right now cjl? how many hardrives on your raid 5 system and are you using another hardrive just for your os. Because I might just do 3-4 drives in raid 5 while having a fast 10k or 15k rpm for the os and maybe some other things.

What kind of raid controller do you have? Can you recommend me one? Can most do raid 5 and raid 10? Because it would be nice if I could later switch to raid 10(if I so choose to go raid 5 right now).

and this isn't really the right place to ask but I thought i would just as you since you are pretty knowledgebale lol. On the COOLER MASTER RC-690 it says it has 5 internal 3.5"drives. It also says it it has 5 external 5.25" drives. It says on the 5.25" drives that it has a 5.25" to 3.5" converter. Does that mean I could use those as hardrive spaces. Like I potentially use like 8 hardrives? How much more power would I need and woudl I need any extra cooling lol?

Thanks man, appreciate the help!
 
The RAID 5 system that I have uses 4 Seagate Barracuda ES 500GB drives on an Nvidia 680i SLI board as the primary volume, and I just use the motherboard raid implementation (I didn't want to spend the money for a really good RAID card). Your motherboard should be able to do RAID 10 without a separate controller or speed loss. For RAID 5, you can do it via your board too, but because it is not a full hardware implementation, it will be slower. If you want to spend the money, Adaptec makes some very nice RAID controllers, but they will probably cost more than your motherboard did in the first place.

As for the single fast drive and big RAID volume? That is actually quite a good setup, as it removes most of the continuous load from the RAID setup, and will help hide its shortcomings (which, while they exist, are nowhere near as large as that article seems to be claiming). Keep in mind that with an integrated RAID controller on the motherboard, it will realize and alert you when it has a partial disk failure.


One thing that you won't be able to do easily is switch from a RAID 5 array to a RAID 10 array, unless you have one heck of an external hard drive and some backup software. As for the use of internal 3.5" drives in a 3.5" external bay? Not a clue - I've never tried it.
 

bf2142-rules-ok

Distinguished
Dec 23, 2007
65
0
18,630
Raid? Some years ago hard drives were not that reliable. I had 3 IBM drives go in 3 months, they were all the same type (bought at same time).
I have built/upgraded upwards of 12 desktop machines , using over 20 hard drives of various types , during the past 4 years. NONE of them have failed.Yes i am sure that is not everyone's experience. But my advice to 'myself' is - as you are 100 times more likely to lose your operating system than your hard drive - partition your drive in 2, 1 partition for operating system so you can easily wipe it( a fresh install of windows every few months is always a good idea) and 1 for user data, and just back up 'important stuff'. Then put your extra cash towards an ati 4870, or nvidia 260 gtx graphics card
 

russki

Distinguished
Feb 1, 2006
548
0
18,980
moomoopro, you misunderstood who the last reply was targeted at. It was targeted to kari, who was quoted in the message.

Everything you need was answered by geofelt, and later by cjl (who, again, misunderstood my point about wiki. So if I can save you time, don't go reading RAID wiki, I think it's pretty accurrate, if limited to the descriptive stuff). And JackNaylor (although I have had my disagreements with Jack, here he's perfectly right).

The thing about RAID is that it is fairly misunderstood by desktop users, but marketed heavily by equipment manufacturers. Because they get to sell you two harddrives when you'd be fine with one.

Bottom line is this - there's no appreciable performance benefit to RAID0 in the typical desktop scenario. As a corollary, there is no performance benefit to RAID5 in the desktop scenario. Read storagereview FAQ, or a couple of Anandtech articles.

From the redundancy perspective, it sounds like you misunderstand what redundancy requirements are vs. what backup requirements are. Even after geofelt explained it.

You need backup - most likely, and don't need any RAID. That is unless you're not telling us everything and plan to use your PC as a media workstation (in which case there's marginal benefit to RAID, but RAID0 probably makes more sense), or a server - in which case it's a totally different ballgame, and you probably need a decent controller, because software RAID5 is costly, particularly on rebuilds - so there goes your redundancy.

Oh, and there are about 20-30 posts on these very forums discussing this very thing.
 

rozar

Distinguished
Jun 7, 2007
345
0
18,780
RAID 5 is mostly used in "servers". Now that’s not to say you can’t use it in a desktop but remember RAID does not equal backup. Plus in servers I always try to set up customers systems with a boot volume (or array such as RAID 1) and then have RAID 5 for the DATA. I discourage anyone from having a single RAID 5 array that is for DATA and boot, even if you use more than 1 partition.

This decision must also consider what else you use for storage or backup. Do you have another server or machine in the house to store important data on? Do you burn important stuff to DVD? If so it might be less important for you to have redundancy in a desktop system.

Also remember that ALL RAID levels you gain one or more of 3 things.
Redundancy
Speed
Volume size
All RAID levels also have a downside (I will list a few)
RAID 0 is not redundant and slows access time
RAID 1 has a high overhead and performance depends on the controller
RAID 5 slows write speeds and access time

So basically a Single drive has its advantages too and I think that is what a lot of people here are trying to tell you.

I will also go back to what I said in my first post, you need to know why you want RAID (any level). If you are not doing RAID for a specific reason then don’t do it. If it’s for redundancy then if possible don’t boot off it. Install a single fast drive like the new WD raptor to boot from and then use a RAID 1 or RAID 5 for your data.

Hope this helps
 

SomeJoe7777

Distinguished
Apr 14, 2006
1,081
0
19,280
In principle, I'd have to agree with most of what russki said here.

RAID (all levels, not just RAID 5) has one primary purpose, that is availability. This is the capability to keep the system up and operational when a hard drive fails. This is a feature that servers need, not desktops.

RAID is not backup. It is not designed nor is suitable to replace a true off-line backup. The purpose of a backup is to save your data from any destructive cause -- OS corruption, malware/virus, accidental deletion/format, or to just plain go back to an earlier version of a document. RAID cannot protect against any of these things. The only destructive force that RAID can protect against is hard drive failure.

So since RAID isn't a substitute for backup, you're going to have to put a backup plan in place anyway. That fulfills protection from hard drive failure as well as everything else, leaving RAID as an availability solution only. Since a desktop seldom needs the availability of a server, you have to ask yourself what you're installing a RAID for?

Further, there is a problem with RAID on the desktop from a reliability standpoint. Enterprise-level RAID cards, like those from 3Ware, LSI, and Adaptec are robust and reliable. Do a quick search on this forum and you'll find dozens of threads that start out with statements similar to the following:

"I was running RAID on my desktop Intel chipset, and all of a sudden the array is listed as degraded ..."
"My nVidia RAID isn't listed in my bootable devices ..."
"My RAID array won't rebuild ... it keeps saying the new drive is bad ..."

Almost all of the desktop RAID controllers seem to have reliability problems of this type. An unreliable RAID that drops out the array or won't rebuild it when a drive goes bad is useless.

About the only other theoretical thing that RAID can give you is higher data transfer rates. But the question is, is that useful for your application? There are a few applications that benefit greatly from high transfer rates (Photoshop scratch disks, DVD authoring, media file creation and video editing applications, professional audio programs like ProTools). Then there are applications that do not benefit at all from sequential transfer rate. Most people here and benchmarks by several web sites offer evidence that gaming falls into this category - i.e. maybe a few percent decrease in load times, if that.

Thus, my conclusion is that unless you have a specific application that can benefit from RAID's high sequential transfer rates, or you have a specific application that needs the availability, the risk, complexity, and cost of using RAID on the unreliable desktop RAID chipsets is too high to justify the small performance benefits.

There is one situation not mentioned here where RAID can benefit, that is where you need to store a quantity of data that is beyond currently available drive sizes, and particularly if you have no means to back up that data. For example, if you want to build a media server to store audio and movies, and need to store 3 TB of data. In this case, RAID 5 would be very worthwhile, because it gives you at least some protection against hard drive failure, and is the only way to get a volume size >1TB right now (1TB hard drives are the largest available).

However, in this case, I definitely would not use a desktop chipset controller. An Enterprise RAID card is definitely warranted here due to the reliability and need to make sure that your data isn't compromised, especially since you can't back it up.

Furthermore, Enterprise level RAID cards perform much better than desktop chipsets -- not due to the parity calculation capability, but predominantly due to the large write cache that can do delayed writes. This prevents a lot of the write-read-calculate-write cycles that cause slow RAID 5 writes on desktop chipsets.

For a typical desktop these days, I like a standard 2-drive setup. Use a very fast drive for C: (Raptor, Velociraptor, or high-end 7200 RPM drive like Seagate 7200.11 or WD Caviar Black), and then a large 7200 RPM drive for D:. Install OS and programs on C:, data on D:. Invest in Acronis True Image, Symantec Ghost, or some other imaging program, and image C: to a file on D: once a week.

For me, that makes the fastest, cheapest, and most robust desktop system. Obviously, this can be modified to suit particular applications.
 

rodney_ws

Splendid
Dec 29, 2005
3,819
0
22,810
Typically you'd see RAID 5 used in conjunction with hardware that is hot-swappable. This way when a drive fails, there is no need for downtime. If you're doing RAID 5 with regular PC hardware you're losing one of the main benefits of RAID 5. I'd guess the % of home users running RAID 5 arrays is less than .001%. I just pulled that number out of my head, but I'd wager it's pretty accurate. It's just not something you see in personal computers. Performance junkies typically go the RAID 0 route and people who are overly paranoid (or too lazy to do routine backups) go the RAID 1 route.
 

russki

Distinguished
Feb 1, 2006
548
0
18,980


With these posts popping out lately I'm just not so sure.

SomeJoe - excellent points, as always. Another thing I would add that in using onboard controllers and, say, your mobo frying when a new generation of hardware is widespread and the old no longer available - you're running a big risk of not being able to migrate your array and being stuck with [practically] unretreivable data. We've seen some of these threads started recently. And that's no drive failures, just a mobo failure (and thus the controller).