[OmniOS-discuss] adding multipath disks

Michael Talbott mtalbott at lji.org
Tue Aug 9 00:24:18 UTC 2016


Here's the quick cheat-sheet I created for multipath whatnots in OmniOS. This should get you started in the right direction. Export your pools, then once you get multipath working (mpathadm list logical-unit shows each disk with more than one path) you can import the pools with the multipath'd device ids. Then you can expand your zpool with the extra multipath'd dev ids.

# multipath admin tool
pkg install mpathadm

# show multipath info
mpathadm list mpath-support
mpathadm list initiator-port
mpathadm list logical-unit

#enable specific devices (NONE ENABLED BY DEFAULT)
nano /kernel/drv/scsi_vhci.conf
#------
# whitelist all devices from these vendors for multipath
# note that the VENDOR must be PADDED with spaces to make a length of 8 characters
# a model may follow to be more specific, but, for our purposes, vendor should be enough
scsi-vhci-failover-override =
  "WD      ", "f_sym",
  "ATA     WDC WD4000FYYZ-0", "f_sym",
  "SEAGATE ", "f_sym",
  "HGST    ", "f_sym",
  "HITACHI ", "f_sym";
#------

#force reload update
update_drv -vf scsi_vhci

# and then reboot


________________________
Michael Talbott
Systems Administrator
La Jolla Institute

> On Aug 8, 2016, at 5:09 PM, Joseph Boren <jboren at drakecooper.com> wrote:
> 
> Greetings,
> 
> I have an OmniOS system that started life as a Nexenta system then at one point installed omnios and imported the pool.   It's got a supermicro JBOD with dual controllers with a bunch of disks configured as a pool of mirrored pairs.  The pool is getting full and I'd like to add some disks so I add 8 more to the JBOD.  I am unsure how to configure them though...
> 
> If I list the disks all the new ones show 2 times, once for each port.  I understand how to create mirrored vdevs and add them to the pool, but I don't understand how to create them with these disks listed 2 times.  The original pool was set up by the Nexenta integrator when we bought the system, so I didn't get to see how they were originally configured.  They only show up once.  
> 
> Can anyone point me at any documentation or help with how to deal with these disks?  Thanks a ton..
> 
> Best regards,
> 
> 
> 
> 
> Joseph Boren 
> IT Specialist
> +c: 208.891.2128 <tel:208.891.2128>
> + 416 S 8th St., Boise, ID 83702
> + drakecooper.com <http://www.drakecooper.com/>
> Read our minds Blog <https://drakecooper.com/blog/>
> Facebook <https://www.facebook.com/DrakeCooper>, Twitter <https://twitter.com/drakecooper>, Linkedin <https://www.linkedin.com/company/drake-cooper>, Instagram <https://www.instagram.com/drakecooperadvertising/>
>                  
> 
> 
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20160808/1dbbe666/attachment-0001.html>


More information about the OmniOS-discuss mailing list