Solved

Hardware RAID with ZFS on Nexenta (OpenSolaris)

Posted on 2013-01-06
4
1,685 Views
Last Modified: 2013-01-11
I am using Nexenta (Open Solaris) for its ZFS features on an Appliance that I use.  I was planning to set the disks as JBOD, but when I got down to it, the LSI MegaRaid SAS 8708EM2 controller did not support JBOD.  So, I had to set each of the 24 1Tb SATA disks as its own single disk RAID0 configuration.  This, at least, allowed the disks to be seen by the installation.  I mirrored the boot disks and used zpool not the Nexenta menu to create a 3 x 6disk raidz3 configuration with 3 hotspares.  The zpool will be used as an Iscsi target for remote VMware datastore.  Is this an efficient configuration or how could this have been done better with Nexenta.? Thank you for your help!
0
Comment
Question by:theoradically
  • 2
4 Comments
 
LVL 55

Assisted Solution

by:andyalder
andyalder earned 100 total points
ID: 38748749
It's not that efficient since you could have bought a cheaper JBOD HBA rather than a RAID controller; you'l probably still get the benefit of the write cache on the controller and have the restriction that it needs enterprise drives although it may have the sense not to fail flakey drives that go into deep recovery as it's in a RAID0 environment.
0
 
LVL 47

Expert Comment

by:dlethe
ID: 38748770
ZFS is designed for JBOD controllers.  Without a JBOD controller then you will suffer big performance hits due to the mandatory flush-on-write.  RAID0 disks behind a MegaRAID controllers do not behave the same as true JBOD target devices.  There is still caching and some degree of virtualization.

I am sure you will have no problem having volunteers lined up if you want to swap a MegaRAID for a 92xx JBOD equivalent LSI.  IN fact, you may even get TWO LSI JBOD controllers for this MegaRAID.
0
 

Author Comment

by:theoradically
ID: 38749076
I am stuck with the hardware and looking need the free "open solaris" in a commercial environment.  How should I set this up for best performance?  If I use the hardware RAID10, how should I set up the zfs configuration?
0
 
LVL 47

Accepted Solution

by:
dlethe earned 400 total points
ID: 38749205
If you want best performance, then use the raid controller to create separate RAID1 devices.  Then do a stripe on zfs

so if first 3 striped devices appear as c0d0,c0d1,c0d2

zpool create mypool c0d0 c0d1 c0d2

This gives you reasonable config. and you end up in this example with a 6-drive RAID10, even though ZFS thinks you have a 3-drive RAID0.

ZFS will still give you all the benefits, but the additional flushing overhead to insure data integrity will be minimized due to the controller write cache.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question