[OmniOS-discuss] 2x acctual disk quantity

Saso Kiselkov skiselkov.ml at gmail.com
Mon Dec 2 12:17:04 UTC 2013


On 12/2/13, 12:08 PM, Hafiz Rafibeyli wrote:
> 
> Saso thank you for your fast reply,
> 
> its ok about two ports(sas dp)I know it,
> 
> but my question is about ,which disk adresses to use in my zfs mirror or zfs raid config?
> 
> in my case:
> 
> c4t500000E1168BB382d0          
> c4t500000E11693F232d0          
> c4t500000E11696D5A2d0          
> c4t500000E116974FB2d0          
> 
> OR
> 
> c6t500000E1168BB383d0          
> c6t500000E11693F233d0          
> c6t500000E11696D5A3d0          
> c6t500000E116974FB3d0          
> 
> 
> If I understand right,when use first adresses I will use  1st controller only,and when use second addresses  2nd controller only?

You should use neither. The underlying disk paths are automatically
managed by the scsi_vhci driver. You need to consult "mpathadm list lu"
and use the device names printed there as your ZFS device nodes, for
example (using the example from
http://docs.oracle.com/cd/E19253-01/820-1931/agkax/index.html):

# mpathadm list lu
    /dev/rdsk/c4t60020F20000035AF4267CCCB0002CEE2d0s2
        Total Path Count: 2
        Operational Path Count: 2
    ...

Here, c4t60020F20000035AF4267CCCB0002CEE2d0 is the correct disk node, so
you should use that. If you are getting "Total Path Count: 1" and twice
the number of nodes in "mpathadm list lu", then scsi_vhci is not
detecting your disks as multi-pathed and you need to tell it to do that.
See http://docs.oracle.com/cd/E19253-01/820-1931/gfpva/index.html on how
to do that. My guess is, however, that this should not be needed, since
you're saying you've got two LSI 9211-8i HBAs, which use the mpt_sas
driver, which is automatically multipath-enabled.

Cheers,
-- 
Saso


More information about the OmniOS-discuss mailing list