Computing.Net > Forums > General Hardware > Striped Raid vs Mirrored Raid

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Striped Raid vs Mirrored Raid

Reply to Message Icon

Name: Gabe21
Date: April 12, 2004 at 20:38:54 Pacific
OS: WinXP
CPU/Ram: AMD Athlon 64/ PC3200 DDR
Comment:

What is the difference between striped raid and mirrored raid?
I know it's a pretty basic question, but I'm a noob...we've all been there...

The only beans I like are Jelly Beans!!!



Sponsored Link
Ads by Google

Response Number 1
Name: Bobthearch
Date: April 12, 2004 at 20:41:58 Pacific
Reply:

I've been reading the forums and wondering the same thing. Here's how I understand it:

In mirrored RAID, the files are written twice, once to each hard drive. That's good for users who want a constant backup of their hard drive.

In striped RAID, the files are split and placed half on each drive. It speeds up file access.

Best Wishes,
Bob


0

Response Number 2
Name: OtheHill
Date: April 12, 2004 at 20:44:33 Pacific
Reply:

Striping is when you are writing one set of data too two partitions or two drives. Mirroring is when you are writing the same data too two separate partitons or drives. Striping-RAID 0, Mirroring-RAID 1. There are other combinations of RAID. 5 in all I believe. Striping is usually done to gain drive access speed. Mirroring to protect data.


0

Response Number 3
Name: XxxFrancisxxxUSA
Date: April 12, 2004 at 20:52:51 Pacific
Reply:

Striping is for performance. But if one drive fails you're totally screwed and your data is toast. On the other side of it, mirrorring is like having two exact same drives running same thing. And all that happens is it writes everything twice. It's a security thing, for those whose data is so important they must have a backup if the main drive fails.

Like O'thehill said. But I typed it all out again cause I am a little parrot. PLus I thought I'd let ya know about the risks of striping without backup. My question driectly after yours funnily enough is on the same topic. You might want to read the answer to it, if I get any!


0

Response Number 4
Name: darkfriend
Date: April 12, 2004 at 20:56:06 Pacific
Reply:

Very good. Additionally mirroring requires 2 hard drives while striping requires at least 3. With striping a single hard drive can fail and new one can be put in its place to maintain the stripe.
-DF


0

Response Number 5
Name: OtheHill
Date: April 12, 2004 at 21:02:31 Pacific
Reply:

Striping doesn't require three drives.


0

Related Posts

See More



Response Number 6
Name: darkfriend
Date: April 12, 2004 at 21:02:59 Pacific
Reply:

Actually he's right RAID 0 striping can use 2 disks and will screw you. RAID 5 striping uses 3 or more and won't screw you. And of course RAID 1 is mirroring.
-DF


0

Response Number 7
Name: johnoh
Date: April 12, 2004 at 21:05:46 Pacific
Reply:

say you have two 80GB drives and 80 1GB files.

If you stripe, half of each file goes onto a separate drive and the transfer speed is about twice as fast since each time you access a file you retrieve it from two concurrently spinning disks. You use up 80GB of 160GB of space. Performance is high and reliability is low.

If you mirror, each entire file goes onto a separate drive and the transfer speed is normal. You use up 80GB of 80B of space. Performance is normal and reliability is high.


0

Response Number 8
Name: XxxFrancisxxxUSA
Date: April 12, 2004 at 21:14:39 Pacific
Reply:

Ahh hence the RAID 0+1? Striping plus backup! Learn something new everyday!


0

Response Number 9
Name: OtheHill
Date: April 12, 2004 at 21:16:29 Pacific
Reply:

If you mirror your tranfer speed is actually lower than with one drive due to the overhead of the controller. Add to that the ECC memory usually used with such systems and you take another performance hit. This type of box is built for dependability though so speed is not of the essence. Most servers don't run real fast processors anyway.


0

Response Number 10
Name: XxxFrancisxxxUSA
Date: April 12, 2004 at 21:20:21 Pacific
Reply:

Lol, those boys at silicon graphics probably do! I hope so, hurry the bleep up and get Monsters Inc 2 out!!!!


0

Response Number 11
Name: XxxFrancisxxxUSA
Date: April 12, 2004 at 21:21:56 Pacific
Reply:

Not forgetting Sun Microsystems of course. Also listed at the end of Pixar movies... poor Disney, doomed... dooomed....


0

Response Number 12
Name: Gabe21
Date: April 13, 2004 at 05:40:37 Pacific
Reply:

That's much clearer...thanks for your times guys...you rock..
But one more question...is there a way to use Raid 0 and Raid 1 at the same time? would I require three drives for this? 2 striped and one mirrored?? Just curious about it..seems really interesting..

The only beans I like are Jelly Beans!!!


0

Response Number 13
Name: OtheHill
Date: April 13, 2004 at 06:16:58 Pacific
Reply:

Yes that is done. The RAID controller must be capable of that though.


0

Response Number 14
Name: martinuk777
Date: April 13, 2004 at 06:45:28 Pacific
Reply:

SATA Raid 0 is expensive. 0+1 even more so.

I personally went for 2 x 120GB SATA drives in Raid 0 with some fans cooling the drives and double backup all critical data regularly onto CD & DVD. If the worst happens, I still have all application installation CDs so only a new disk is needed and no disaster.......hopefully.

"Don't eat yellow snow"
Martin


0

Response Number 15
Name: johnoh
Date: April 13, 2004 at 08:31:18 Pacific
Reply:

raid1 is about the same as no raid, sometimes faster, sometimes slower.

http://www.tomshardware.com/storage/20020830/ide_raid2-07.html


0

Response Number 16
Name: Gabe21
Date: April 13, 2004 at 11:01:29 Pacific
Reply:

Well...the mobo that I want to get is the Asus K8V Deluxe and it suports Raid 0+1...so I'm guessing that I will be able to use both...So if I wanted to use both I would need 3 HD right?? HD1+HD2=Raid 0 and HD3=Raid 1...is this "theory" correct? I know that this mobo only supports only 2 SATA HD..but it also supports UDMA 133...is there a problem with that at all??? Thanks everybody for your help...sorry if I sound like a dumba**!

The only beans I like are Jelly Beans!!!


0

Response Number 17
Name: OtheHill
Date: April 13, 2004 at 11:21:25 Pacific
Reply:

Check out this site. Explains different RAID confiurations. I thought there were 5 but looks like 10 or more.
http://www.acnc.com/04_01_00.html


0

Response Number 18
Name: Gabe21
Date: April 13, 2004 at 16:50:00 Pacific
Reply:

Thanks for the link OntheHill...very, very helpful...I guess that my "theory" was wrong...if I wanted to use Raid 0+1 I would need at least 4 drives and not 3 like I thought...
I still wonder why though...shouldn't they come out with some kind of Raid that I'll be able to strip and mirror with just 3 drives???????
Thanks for the info anyways...I'm gonna save that link for future use..

The only beans I like are Jelly Beans!!!


0

Response Number 19
Name: selvan8
Date: April 15, 2004 at 03:54:46 Pacific
Reply:

Hi

I have a doubt, we have Compaq server, company is planned to buy six hot swappable Hard Disk,
Can I create, first mirrored with two hard disk and after completing this can I create RAID5 with remaining four Hard disk.

That is, we wanted to have redundancy for operating system, therefore Mirroring with two Hard disk.
Later we want to create the RAID5 with remaining four Hard disk

Please any explain on this,

Regards



0

Response Number 20
Name: Gabe21
Date: April 15, 2004 at 09:37:10 Pacific
Reply:

I don't think it would support having a Raid 1 and Raid 5 from what I understood in the tutorial that OntheHill provided me...plus..if it did..it would be expensive as hell...I could be wrong though...let the experts answer you...

The only beans I like are Jelly Beans!!!


0

Response Number 21
Name: wanderer
Date: April 20, 2004 at 09:12:45 Pacific
Reply:

It is loosely correct to say that striping means a file is split between drives.

Raid does not deal with files. It deals with blocks. I know that is a small point but its like the OSI model. You need to understand what is happening at each layer.

"If you mirror your tranfer speed is actually lower than with one drive due to the overhead of the controller. Add to that the ECC memory usually used with such systems and you take another performance hit. "

This statement is incorrect. First, Disk I/O is much slower then any transaction being done in memory no matter what the type. ECC memory does not slow your system down but provides additional error correction on the fly in case its needed. Memory is measured in nanoseconds and drives are measured in microseconds.

It is also incorrect that transfer speed is slower with mirrored drives. Data being written to the drives is a bit slower due to having to do dual writes. Your controller is the biggest factor here and if it can perform the writes simultaniouslyby lining up the read/write heads. The great thing about mirroring is you can read from both drives at the same time! This increases read performance which for most of us [and the OS] is what occures more often then writes.

Raid 0+1 is a stripe of mirror sets. This gives you performance of stripe but the fault tolerance of mirror. Problem with this config is if you lose one drive you have lost your fault tolerance. This is a setup that mandates a/multiple hot spares.

Raid 10 is stripe sets that are mirrored. Better fault tolerance then raid 0+1 but more drives/cost. Excellent performance though due to the stiping.

If you have 6 drives it is recommended that you mirror the OS and raid the data. Every controller I have worked with over the last 12 years supports this configuration. I personally try to stay away from raid5 but do 0+1 and 10. There is a major difference in performance when compared to raid5.

There is the issue of pagefile operations [ms says no raid1 or 5 - they are wrong concerning raid1 as they are in a number of aspect of pagefile operations but that is another discussion].

If you are going to raid5 your data only use THREE DRIVES. Save one as a HOT SPARE. A hot spare will automatically take over for a failed drive in either raid set. I can't tell you how many times that has saved my bacon. Much easier to down the server at non peak hours to install/reconfigure a replaced failed drive as a hot spare then have the chance that a second drive die in the raid5 which means you are only as good as your last backup assuming a 3 drive config.

Another trick for raid optimization that is commonly overlooked is to use dual or triple channel raid cards. For example if you put one drive on one channel and another drive on another channel then raid1 you get better performance then if both drives were on the same channel.

Another aspect to be aware of is how many drives you put on a channel. Raid cards support up to 15 devices but I have seen bus slowdown due to this configuration. My observation is you are compromizing performance when you get past 5-7 drives per channel. You NEVER want to mix slow drives with fast ones on the same bus or put devices like tape drives/cds/etc on the same channel as your raid array. You will take a major performance hit as the bus slows down to address the slowest device.

Another issue [gee I say that alot] is drives. Usually when you buy drives they are out of the same lot. This also means then can FAIL ABOUT THE SAME TIME. If at all possible get the same drive/manufacturer but different lots. I have had this experience of a mirror set failed. Before the hot spare rebuild could finish the 2nd drive in the mirror set died. That was not a fun day.

I hope this has been helpful.


0

Response Number 22
Name: waygood
Date: May 18, 2004 at 07:44:59 Pacific
Reply:

Have have recently heard of Raid 1+0 (not 0+1) which is Raid 1 (mirrored) BUT its read as a stripped drive (Raid 0). Thus you get the benefits of not loosing data should the drive fail, only using 2 drives and the added speed of reading stripes.

BUT I cant find where I heard of it, and I have looked for an adapter but cant find one. Its difficult to use 1+0 in search engines such as google, and some companies list 0+1 as 1+0.

Can anyone help me???
I have a a lovely Asus P4P800 3.2GHz 400FSB, 1GB TwinX Corsair memory. But my Deskstar 120GB drive is quite slow in comparison to the rest of the system. It has a built in Raid controller but I am not forking out for 4 Sata150 drives, or another 3 Deskstars.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to General Hardware Forum Home


Sponsored links

Ads by Google


Results for: Striped Raid vs Mirrored Raid

Changing Raid Stripe to Mirror www.computing.net/answers/hardware/changing-raid-stripe-to-mirror-/54061.html

Is RAID 0 (Striping) worth it? www.computing.net/answers/hardware/is-raid-0-striping-worth-it/2779.html

What Is raid 0? www.computing.net/answers/hardware/what-is-raid-0/23119.html