Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


Return to article

Comparing RAID 5 and RAID 0+1
 

When you plan your Microsoft Exchange Server system's storage layout, plan on sacrificing some storage to RAID fault tolerance. For RAID 1 and RAID 0+1 volumes, you can expect to give up 50 percent of your storage for fault tolerance. However, for RAID 5 volumes, the percentage of disk space that you sacrifice for fault tolerance equals just one divided by n, where n is the total number of hard disk drives (i.e., spindles) in the array. For example, in a set of five 18GB hard disks, you give up one hard disk, leaving four hard disks (72GB) for storage.

Two types of RAID 0+1 exist. In one type, the data is striped first, then mirrored. In the other type, the data is mirrored, then striped. The latter configuration is slightly more fault tolerant because it can survive a multiple hard disk failure, as long as the failed disks aren't members of the same mirror set. Figure A illustrates how RAID 5 volumes (i.e., stripe sets with parity) and the two types of RAID 0+1 volumes store data.

Although RAID 5 requires a smaller investment in hard disks, RAID 5 can reduce availability in heavy-load situations. The problem with RAID 5 is that to retain fault tolerance, updates to any disk in a stripe set also require an update to the parity information. To update the parity information, the RAID software must read all other members of the stripe set, and those disk-reads take time. Because RAID 1 and RAID 0+1 maintain fault tolerance through mirroring, these approaches don't have parity update problems.

Surprisingly, in large Exchange Server systems, high-performance RAID 0+1 volumes can use fewer hard disks than RAID 5 volumes. How is this possible? In heavy-read situations in which mailboxes are large (e.g., more than 50MB per user), RAID 0+1 outperforms RAID 5 in I/O. To calculate the number of hard disks your Exchange 2000 Server databases require for RAID 5 and RAID 0+1 volumes, download Compaq's Solution Sizers' Exchange 2000 Storage Planning Calculator at http://www.compaq.com/activeanswers.







Reader Comments

RAID 5 if implemented correctly provides error detection and recovery at the individual flipped bit level for hard or soft errors -- thus reducing file corruption. Mirror based arrays alone are worthless for anything other than an identifiable disk failure, i.e. which bit is correct?

Clayton Falter -July 26, 2001

Not only do most raid 5 implementations not do a parity check on all reads as would be required for detections of flipped bits they als calculate ECC as XOR so they could detect an error (data stripe and parity don't match) but couldn't know if the partiy or data is right.

Howard Marks -July 26, 2001

Can one set up a Raid 0 configuration and then use a good backup utility to reinstall a crashed Raid 0 array? This way, you get the speed of Raid 0, and only minor inconvenience if you have a crash and have to restore. hhhhzzzz@aol.com

Anonymous User -March 12, 2005
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement