Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > General Discussion

Vista - RAID Explained...

Reply
 
Old 05-19-2009   #1 (permalink)


Windows Vista 64bit
 
 

RAID Explained...

I had a PM from a new member here, asking me about my RAID 0 setup with my two velociraptor HDD setup...i figured I would shaire my response with the rest of the forum, to explain what RAID 0 and RAID 1 is, and help you to decide what is right for you if you decide to attempt a RAID setup on your own computer.


Foregive my grammar, lack of punctuation, etc...but I believe i put it in leymans terms, so everybody can understand it

-------------------------------------------------------------------------------

RAID 0 basically makes 2 (Identical, they MUST be identical hard drives, model number and all) work in tandem... data, that is written, and read off of the drive, is written in 128kb "stripes", though you can change the stripe size to 64kb, or even 32kb... 64kb is probly the fastest, but i am running at 128kb stripe size...

anyway, say you have a 1gig file, in RAID0, that file is stored on both HDD, in tandem, written in 128kb chunks back and forth. thus making each HDD, only having to write 500mb, vs. the same HDD by itself, having to write the entire 1gb. so you cut the read/write time by essentially almost half...but not really... there is some latency involved, but RAID0 def beats out a single HDD.

If you got the money, go grab yourself two velociraptors, and run those in RAID0, its nice ;-)

Now, the other advantage to RAID0, is your essentially taking 2 hard drives, and creating one single large HDD. so windows see's my two 300gb raptors, as a 600gb HDD.

Then, there is RAID 1, raid 1, is a "Mirror" and is excellent for data security...if 1 hard drive fails, all of your data is still mirrored on the other, and you lose nothing. there is no performance increase, and you also do not gain any HDD space either...so if you take two 500gb HDD, and run them in RAID 1, your system still only has 500gb Hard drive space...it's just copying every single file, twice. It doesnt make it slower, it just makes it more secure if you are the type of person who values the files on their computer.

There is other RAID types, which essentially combine RAID 0 and RAID 1, but those setups require multiple Hard Drives of the identical model, and can get pretty pricey, unless you got the dough.

My System SpecsSystem Spec
Old 05-19-2009   #2 (permalink)


Windows Vista 64bit
 
 

Re: RAID Explained...

Oh, one thing to note, creating a RAID setup, of any type, you WILL need to start fresh, so backup any files/folders that are important before attempting such a setup, because a format, of both HDD is required to create a RAID Array.
My System SpecsSystem Spec
Old 05-19-2009   #3 (permalink)


Vista Ultimate SP2/Windows 7 Ultimate x64
 
 

Re: RAID Explained...

Thanks. I may be old fashioned but I would prefer not to use RAID at all, but I see many PC vendors now don't give you any choice, it's either RAID 0 or 1...or nothing. Alienware's top of the line model ALX X58 for instance, which I have my eye on.
My System SpecsSystem Spec
Old 05-19-2009   #4 (permalink)


Win7x64
 
 

Re: RAID Explained...

Quote  Quote: Originally Posted by SMOKKINU View Post
I had a PM from a new member here, asking me about my RAID 0 setup with my two velociraptor HDD setup...i figured I would shaire my response with the rest of the forum, to explain what RAID 0 and RAID 1 is, and help you to decide what is right for you if you decide to attempt a RAID setup on your own computer.


Foregive my grammar, lack of punctuation, etc...but I believe i put it in leymans terms, so everybody can understand it

-------------------------------------------------------------------------------

RAID 0 basically makes 2 (Identical, they MUST be identical hard drives, model number and all) work in tandem... data, that is written, and read off of the drive, is written in 128kb "stripes", though you can change the stripe size to 64kb, or even 32kb... 64kb is probly the fastest, but i am running at 128kb stripe size...

anyway, say you have a 1gig file, in RAID0, that file is stored on both HDD, in tandem, written in 128kb chunks back and forth. thus making each HDD, only having to write 500mb, vs. the same HDD by itself, having to write the entire 1gb. so you cut the read/write time by essentially almost half...but not really... there is some latency involved, but RAID0 def beats out a single HDD.

If you got the money, go grab yourself two velociraptors, and run those in RAID0, its nice ;-)

Now, the other advantage to RAID0, is your essentially taking 2 hard drives, and creating one single large HDD. so windows see's my two 300gb raptors, as a 600gb HDD.

Then, there is RAID 1, raid 1, is a "Mirror" and is excellent for data security...if 1 hard drive fails, all of your data is still mirrored on the other, and you lose nothing. there is no performance increase, and you also do not gain any HDD space either...so if you take two 500gb HDD, and run them in RAID 1, your system still only has 500gb Hard drive space...it's just copying every single file, twice. It doesnt make it slower, it just makes it more secure if you are the type of person who values the files on their computer.

There is other RAID types, which essentially combine RAID 0 and RAID 1, but those setups require multiple Hard Drives of the identical model, and can get pretty pricey, unless you got the dough.
Great post. Have rep

Depending on the implementation, disks don't have to be identical to function in a RAID 0 set.

Also, RAID 1 does confer a performance advantage. There are now two disks containing the same data, and one of them will have its head assembly closer to the target track and sector than the other one. Hence, seek time and rotational delay will be reduced somewhat.
My System SpecsSystem Spec
Old 05-20-2009   #5 (permalink)


Vista Ultimate x64
 
 

Re: RAID Explained...

Hi

I was told ones that you should be careful with "Raid 0" since a failur on one of the diskes destroys all the data on both diskes, and that failurs occur more frequently in "Raid 0" then they would in non Raid setups. Also if a normal disks fails you have a chance to recover the data with some software, this is not true for the raid setup... Or am I wrong?

Is there not a setup where you run two diskes like in "Raid 0" and have one extra disk for mirroring? Maybe Raid 2 or something...

Thanks for a great post by the why
My System SpecsSystem Spec
Old 05-20-2009   #6 (permalink)


Win7x64
 
 

Re: RAID Explained...

Quote  Quote: Originally Posted by Dane View Post
I was told ones that you should be careful with "Raid 0" since a failur on one of the diskes destroys all the data on both diskes, and that failurs occur more frequently in "Raid 0" then they would in non Raid setups.
If the likelihood of a given disk model failing within the year is say 10%, then using two of them in a RAID 0 stripe set increases the failure risk to 19% ( 1 - [0.9]^2 ). Three of them in the stripe set, and the risk goes up to 27.1, and so on...

Strictly speaking, RAID 0 is not RAID at all. There is no Redundancy in that configuration.

Quote  Quote: Originally Posted by Dane View Post
Also if a normal disks fails you have a chance to recover the data with some software, this is not true for the raid setup... Or am I wrong?
In both cases, it depends on what exactly failed. If it's a complete failure at a hardware level, recovery software ain't gonna help either way. If the partition definition is somehow damaged, or the file system metadata, then assuming there's nothing wrong with the underlying hardware the data is potentially salvageable in both instances.

Quote  Quote: Originally Posted by Dane View Post
Is there not a setup where you run two diskes like in "Raid 0" and have one extra disk for mirroring? Maybe Raid 2 or something...
Sure, you can mirror two RAID 0 sets, and that goes by a variety of technically-incorrect names

Most larger hardware RAID arrays use RAID 5 as the basic building element. Again, it's a stripe set, except that for any given stripe across the disks one of the disks contains only parity information which can be used to reconstruct the original data should any single disk fail. The setup is truly "redundant" in the sense that it is fault tolerant. With massive hardware controllers it can come close to providing the speed of RAID 0 while still being as safe as RAID 1 - two disks must die (without replacement) before the data is completely lost.
My System SpecsSystem Spec
Old 05-20-2009   #7 (permalink)


Vista Ultimate 64bit
 
 

Re: RAID Explained...

I am fairly new to all of this but my present computer came with two 500gb drives configured in a RAID O. They benchmark pretty fast and they have not failed (yet). A friend of mine has been experimenting with both Software based Raid O & 5 And the same with a PCI RAID controller. In his testing there seems to be a bottleneck at the PCI limiting his read/write speeds. Same drives in the same setup can achieve faster read/write speeds with the software based RAID (mostly when using 3 or more drives). It seems 150MB/s is the max on his PCI where he was able to get up to 240MB/s with 4 drives in a RAID 0?

I repeat I am new to all this so please correct me on anything I am saying. My thoughts are there are no real advantages with the RAID 0 (striped) because you are limited by what you are writing to or from. I understand if you were copying to or from multiple sources (I do have 2 external ESata ports) the RAID may handle the faster read/write in that situation. Most of the time I am only writing to a single non raid hard drive (either internal or external) and am limited by that drives read/write speed?

What advantage does the speed of RAID 0 have, what uses or aplications for the average user would this benefit. If I ever have to do a fresh install I am considering not going with RAID the next time around unless I am missing something?
My System SpecsSystem Spec
Old 05-20-2009   #8 (permalink)


Vista Home Premium 32-bit & Vista Ultimate 64-bit both Service Pack 2 W7 Pro RTM 7600 32 & 64
 
 

Re: RAID Explained...

Here is a link that you might find useful. RAID - Wikipedia, the free encyclopedia
My System SpecsSystem Spec
Old 05-25-2009   #9 (permalink)


Vista Ultimate x64
 
 

Re: RAID Explained...

Thanks for your input guys... I now have a better understanding then I did before...
My System SpecsSystem Spec
Old 05-25-2009   #10 (permalink)


Vista Ultimate SP2/Windows 7 Ultimate x64
 
 

Re: RAID Explained...

Do you think they'd laugh at me if I asked for a non-RAID setup when ordering a machine from Alienware?
(It isn't an option when ordering online but I would imagine one could get it by phoning instead).
The reason I'm cagey about RAID is that I read so many tales of misery when people are trying to reinstall or repair their systems and some RAID driver or other is missing that has to be installed first. Plus with RAID 0 an HDD or RAID controller failure causes a total loss of data.
I would just like what I have now. Plain old SATA HDD's whose total capacity is available to me whenever.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
DDR RAM Explained Overclocking & Cooling
Women as explained by engineers Chillout Room
BSOD explained? Vista General
Low Performance Ratings Explained Vista performance & maintenance
Vista problems explained? Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46