Solved

Hardware RAID with ZFS on Nexenta (OpenSolaris)

Posted on 2013-01-06
4
1,664 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
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 video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …

825 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