Skip to main content
RAID-1 vs. RAID-5 Explained!

In my line of business, I often meet customers whom asked me questions about RAID (Redundant Array of Independent Disks) as they have been misled and/or confused by IT vendors whom are either out to make the most money from the customer by selling more storage/disks or they don't have an understanding of the customer's applications and storage needs.

Some of the most popular RAID questions I come across are:
  1. I want RAID-5 as it is a better and faster than RAID-1. Is it?
  2. Should I install the operating system (OS) and put data in different partitions of RAID-5?
  3. Is it ok if we divide a RAID into two partitions?
  4. Does RAID-5 take a long time to rebuild?

Is RAID-5 (hardware-based RAID) a better solution than RAID-1?
Based on my experiences with MS Windows, Linux and UNIX-based (Solaris, AIX, HP-UX) operating systems since year 1996, choosing a RAID level actually depends on what application(s) you are implementing.


RAID-1 characteristics
  • One Write or two Reads possible per mirrored pair
  • Twice the Read transaction rate of single disks, same Write transaction rate as single disks
  • 100% redundancy of data means no rebuild is necessary in case of a disk failure, just a copy to the replacement disk
  • Transfer rate per block is equal to that of a single disk
  • Simplest RAID storage subsystem design















RAID-5 characteristics
  • Highest Read data transaction rate
  • Medium Write data transaction rate
  • Low ratio of ECC (Parity) disks to data disks means high efficiency
  • Good aggregate transfer rate













Based on the above characteristics of RAID-1 and RAID-5, I will not recommend using of RAID-5 technology for any servers that is bound to have write-intensive operations as RAID-5 has slower write data transaction rate than RAID-1 due to the many disks and generating of ECC Parity factor.

From my personal experiences, RAID-5 performance is notoriously slow for small-writes, because of the CPU overhead that each write requires. The overhead is worse if the RAID-5 is software-based. Hardware-based RAID-5 is better, but still not as fast as RAID-1.

Of course, RAID-1 requires a great deal of extra disk space (double the usable space you need), so you pay for each approach in different ways. So, if you are implementing an email server with more than 50-mailboxes, you will be expecting a lot of disk I/O as there will be a lot of write-intensive operations. So, if you need performance and you have a backup strategy, I recommend that you use RAID-1 or RAID-10.


Can you put the OS on RAID-5?
Yes, you definitely can. After that, you will find that your server overall performance will suffer from performance degradation.

Can you divide a RAIDed slice into multiple partitions?
It depends. You may be able to do this, depending on the hardware, operating systems and software you use. I think you'd be better served by having two or more separate RAID slices, and assigning each to a separate file system.

Does RAID-5 take a long time to rebuild?
Short answer: YES. Long answer: It depends on how large the RAID-5 slice is, how many disks you striped it across, the I/O speed of the disks involved, the CPU speed of the system(s) involved, how much other work is underway and many other factors. I have seen large, poorly configured RAID-5 slices that take days to rebuild.

How to optimally deploy RAID-5?
I have met some IT Managers whom due to IT budget constraints could not afford to buy more than 3 hard-drives for their RAID-5 implementations. For your knowledge, the optimal configuration for RAID-5 is to have data spread across four to six disks. Fewer than that is not worth it and you may as well deploy RAID-1 as it will be cheaper and a lot faster! More than that invites trouble by increasing the likelihood of multiple disk failures.

Oh, by the way... more disks require more time to rebuild.

References:

Comments

Popular posts from this blog

In early April 2006, I sign-up for the Excellerated Business School for Entrepreneurs (BSE) after a preview session held in Singapore by Executive-Directions. The seminar was held from 15 April to 23 April 2006 in Subang Jaya Hotel in Kuala Lumpur, Malaysia. The BSE in KL was organized by GlobeSL Sdn Bhd. I left Singapore on 14 April via Transtar , the only 1st class coach service which has 16 seats to create a lot of room for your leg. They also provide hot meal during the journey with hot drinks on demand. The seats are equipped with a massage chair, a personal in-flight entertainment system on LCD screen, PC Games and the F&B Attendant will provide anything that you ask for. From newspaper, magazines, blanket, hot/cold drinks, a new set of earphones for the entertainment system... they have it all. They are most courteous and polite at all times. I truly enjoy the Transtar service. For SG$50 from Singapore to KL, it's worth it. I arrived in Subang Jaya Hotel at about 10p

From Toilet Cleaner to CEO

On 22-April-2012, my entrepreneurship journey story was published by The Sunday Times in Singapore by Mr. Wong Kim Hoh

Competition: How Eliminating This Word From Your Vocabulary Will Skyrocket Your Success

Competition: How Eliminating This Word From Your Vocabulary Will Skyrocket Your Success this essay is extracted from Rok SIVANTE's Facebook Notes . Click here for Rok SIVANTE Facebook Profile page. ---------------------------------------------------------------------------------------------------------------------------- Competition. How much of business & economic theory has been based around the concept? What’s happened to this economy of ours, based on the scarcity model of which competition is a core principle? (For anyone who hasn’t picked up a newspaper in the last year - it hasn’t exactly been doing as hot as most would like) What are the consequences of continuing to operate in the world from a belief system dictating there must be a winner and a loser in all outcomes? Are your results really dependent on how others around you conduct their lives? Your success in business has NOTHING to do with the “competition.” What any other company or person is doing has NOTHING to