Question

Raid-Z versus Raid 5

Asked by: KTN-IT

This question is more for my learning than it is to find a "fix it" solution to a problem, so all helpful responses will receive points.

I have a Dell Poweredge 2600 server with a perc raid controller.  I have always liked to use raid 5 for my servers, so in case of single drive failure I won't lose anything.  Recently I have read about Solaris' raid-z and how it eliminates the problem of the "write hole" for raid 5.

Does anyone have experience with raid-z (and ZFS)?  Is it really all it's cracked up to be?  Is it really more for read-intensive applications because any time you write you have to write a whole stripe?  Is the raid-5 write hole really a substantial risk (does someone have an experience with data corruption in raid 5?)

I realize these are a lot of questions, but they are all related to the topic and I'm wondering whether or not to move my file server over to Solaris and raid-z.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-07 at 12:01:56ID24635732
Tags

Solaris OS

,

Raid-z

Topics

Storage Technology

,

Sun Solaris

,

Computer Servers

Participating Experts
5
Points
500
Comments
12

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Raid and Stripe Depth
    I'm setting up a hardware based Raid 5 configuration and wanted to know the significance of setting up raid depths. The setup provides 8, 16, 32, 64, and 128k stripe depths.
  2. RAID and Striping
    RAID and Striping - where I could find more information ? Regards, J.K.
  3. Using RAID on Solaris
    How does RAID function on a normal Solaris install. If I used hardware or software RAID on a Solaris box and I was installing from scratch, how would the mount points be created on a RAID 5 setup? Usually, I believe, the mount points are created on a seperate disk. Also, wha...
  4. RAID
    Is there software that comes with Solaris 9 that handles RAID ?
  5. RAID STRIPE SETS
    I was wondering if someone could, in a nutshell , explain 1. the difference between raid stripe sets with and w/o parity and just how and what the stripe set accomplishes, and how data loss is recovered and is it only from within windows .

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: mrjoltcolaPosted on 2009-08-07 at 12:54:15ID: 25046332

I have experience losing two RAID 5 volumes in my career, both due to multiple disk failures in a volume before the administrator caught it. In one instance, the admin worked for me. :|

As such, I do not recommend RAID-5 or any other parity RAID with modern disk capacity and cost. There is no point anymore. Years ago it was the way to get great savings on disk, but nowadays, RAID-10 (or 0+1 which is different) is mostly superior. I've seen a comple of comparisons that indicated RAID-5 and other parity levels with a slight edge on reads, but it still loses in all other categories:

1) Redundancy
2) Performance including read and write in a healthy volume
3) Performance in degraded state (parity RAIDs suffer badly in degraded state)
4) Speed of recovery / rebuild (parity RAIDs are horribly slow in rebuild)

RAID-10 wins all of these. You can theoretically lose half your disks with RAID-10, though you'd have to get lucky.

Since RAID-Z is non-standard, and proprietary to Sun's ZFS, and it still is not as redundant as a RAID-10, I've never used it, nor wanted to. I've seen many arguments for the various parity RAIDs over the years, most of them are hanging by some small thread, and ignoring the rest of the benefits of RAID-10/20, etc. but I like the simplicity and cleanliness of RAID-10, and this is why I also feel it is the standard RAID chosen in many corporate datacenters for critical data and is also the one recommended by Microsoft for Exchange servers. I feel with SSD, huge caches and higher platter capacities, all parity RAID is a dead end technology, except where data integrity is concerned.

The one nice thing RAID-Z has is the filesystem integrity / self-healing data, due to involvement of the ZFS checksum, which filesystem independant hardware RAID cannot do. Thats nice.

So my question to you, what is your goal?
To achieve maximum disk space with available spindles?
To achieve better performance than RAID-5?
A combination of both?
Or to get the integrity advantage of ZFS + RAID-Z?

If the former two, I wouldn't move to Solaris just to get that, there are other alternatives.

 

by: chuckyhPosted on 2009-08-07 at 13:28:02ID: 25046629

I don't see anyone changing operating systems because of a filesystem. ZFS may sound good but unless you are already using Solaris there's no reason to move to it.  If you are worried about Data safety move to RAID 6 or RAID 10.

 

by: KTN-ITPosted on 2009-08-07 at 13:45:54ID: 25046781

This is exactly the kind of experience and feedback I was hoping for.  I looked up RAID 10, and wikipedia says it's short for RAID 1+0.  If I understand correctly, I'd need a minimum of 4 identical drives, and lose the capacity of half of them for redundancy.

mrjoltcola, I appreciate what you said about parity.  I think now I'm beginning to understand the risks involved with RAID arrays with parity, thanks to your explanation.

My goals are "all of the above."  I suppose if I had to give priority to them, it would be:
1) data integrity/redundancy
2) space (I'm on a limited budget right now, trying to make the best of what I have... or else space wouldn't be a consideration)
3) performace (even though I list it last, it's still important!)

Right now our office is using a limping Windows 2000 Server for its file server.  So my questions about moving to Solaris really revolve around the potential usability and integrity of ZFS, which seems to offer
a) a safer enivornment for our data than our current RAID 5 setup,
and b) the ability to "grow" the file system as needed (which you can do in ZFS, I think, right?)

 

by: mrjoltcolaPosted on 2009-08-07 at 14:04:28ID: 25046943

Yes, RAID-10 = 1/2 total disk capacity, and striped mirrors. RAID-10 is not RAID 0+1, there is a critical difference. In RAID-10, each mirror can lose a disk. If you have 20 mirrors, all striped, you could lose up to 10 disks, though with each disk loss, the RAID is in more jeopardy.

Example RAID-10 below with 8 disks, each letter represents a mirror pair. So each mirror pair, is a disk unit that can be striped.
Consider each pair a mirror (RAID-1)

A1 <-> A2
B1 <-> B2
C1 <-> C2
D1 <-> D2

Then RAID-10 is the striped across all A-D, so as you see you can lose one of each pair and still keep trucking with little performance degradation. RAID-20, etc. just adds more redundancy (ie. more mirrors)

RAID 0+1 should not be considered, it is not redundant enough. It is a mirror of stripes, which means you can lose max 1 disk in each stripe, so for RAID 0+1 you can lose max 2 disks, period.

Regarding filesystems, you can grow many other filesystems dynamically, so that is not a reason to move to ZFS / Solaris.

 

by: KTN-ITPosted on 2009-08-07 at 14:17:49ID: 25047044

mrjoltcola,

Yes, Wikipedia explained the difference between RAID 1+0 and RAID 0+1.  I will be careful not to confuse them.

I understand that there are other file systems that can be grown dynamically: FreeBSD has Vinum, Linux has LVM, but those options did not look like they had the other benefits of Solaris' ZFS.

As long as I'm standing "in a yellow wood" (Robert Frost) looking down diverging roads, I thought I'd ask some questions about them and see which one I'd like to travel by.

I welcome any suggestions.  Thanks.

 

by: mrjoltcolaPosted on 2009-08-07 at 14:27:52ID: 25047102

It depends on your skillset (who is your UNIX admin) and your goals.

For mission critical, gigantic fileservers, Linux will work great, but until Linux ext4 and/or btrfs is a reality, a crash / fsck will take a while on bootup. I've never run any giant servers on Linux, usually 500GB to 1TB Oracle servers is my thing, and Linux has always worked great.

But if you are in many many terabytes of storage, a commercial, enterprise quality filesystem might be considered. Note that doesn't mean Solaris is better,  you can still get VeritasFS for Linux as far as I know. I worked with vxfs and vxvm many times on Solaris / Sparc and its great, and according to my research recently they provide it for Linux as well.

You won't really go wrong either way.

Would not go the FreeBSD route, in your case. I would stick with a commercially supported Linux (Redhat or Oracle Enterprise Linux) or go with Solaris (which is now also Oracle. :)  ).

 

by: diepesPosted on 2009-08-08 at 01:31:17ID: 25048803

http://en.wikipedia.org/wiki/RAID#Standard_levels
Interesting discussion, my 2c

Raid6 vs Raid 10
With Raid6 (Raid5 + Additional parity disk), you can loose any 2 disks, when loosing 1 disks gives you redundancy while rebuilding failed disk.

With Raid10 you can loose 2 disk, if they are not in the same mirror set, if you are unlucky 2nd disk could be the end of the raid set.

Summary Raid6 vs Raid10
1. Space Raid6 - only looses 2 disks to parity in set, Raid10 looses 50%
2. Speed Raid10 faster, striped over multiple pairs. Raid6 writes much slower
3. Redundancy - Raid6, loose any 2 disks still work,   Raid10, vulnerable to loosing 2 disks in same mirror set, can loose 50% of disk if you are lucky and it is always just one of the mirrored pairs.

 

by: charlestassePosted on 2009-08-08 at 16:32:40ID: 25052153

I work with Array's all day long and have to put my hat into the RAID 6 over RAID10
However - everything is subject to disaster so

**** Nothing beats a good system state backup****
and a backup is only valid if it is actually TESTED!

 

by: KTN-ITPosted on 2009-08-10 at 06:00:30ID: 25059494

Thank you all for your input.

You guys have to check out this site:  http://www.baarf.com/
Like I said earlier, I'm beginning to understand the fundamental risks of any parity-checking RAID, although RAID6 seems like the best of them.  Thank you, diepes, for pointing out the vulnerability inherent in RAID10.

I'm still waiting for someone to comment who has any experience with ZFS or RAID-Z.  There are many people who have a lot of good things to say about it, but it doesn't seem like many people are actually using it.

 

by: RowleyPosted on 2009-08-11 at 08:32:35ID: 25070207

We've just finished a rollout of the latest solaris 10 across the estate. Part of that rollout was to create a local zfs storage pool on each and every server, just mirrors of space on a couple of disks. We're using these pools for home drives, quick retrieval archive logs, temporary storage, ad-hoc requests and quick and dirty provisioning of small amounts of disk space. We use ufs for all root disks and vxfs for all database volumes. I see it being many years before we might consider using zfs for anything mission critical, purely because of the wealth of knowledge and experience supporting ufs and vxfs far outweighs that of zfs.

It's easy to administer, intuitive almost. It's got some lovely features that we use such as compression, quotas, and replication/cloning. Given time, it should and could be a viable and excellent alternative to the current mainstay of vxfs and such. It really is a powerful piece of technology that is being given away for *free*. You can find yourself paying through the nose for equivalent hardware based solutions.
We would so love to have zfs everywhere as it makes file systems a comparative joy to administer but ... we're scared.

We are comfortable with what we know and its going to take a sysadmin/manager/cto with cojones grandes to migrate away from entrenched standards. Hence the gently-bently approach by ourselves and the vast majority of other Sun shops. We just don't have the time to go headlong into working with a new fs, but if you have the time and the inclination, you'd be silly not to at least consider it. In your case though, you have a hardware raid controller, so you'd leverage that with whatever raid level you can afford/is appropriate and have the advantages of the zfs file system on top. If you have a lot of storage to throw at it, then you've got an excellent volume manager too.

my ha'pennies worth anyway, hth.

 

by: KTN-ITPosted on 2009-08-11 at 08:47:15ID: 25070386

Thanks, Rowley.  That helps a lot.  I'm in a relatively small office environment with nothing really mission critical as long as we do our regular backups.  I'd really like to try ZFS.  Look for another question on how to set up ZFS together with a PERC 4/i raid controller.

 

by: KTN-ITPosted on 2009-08-11 at 08:49:39ID: 31613069

Thanks everyone!

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...