Creating multipath device with FC Disks

Hello,

I am trying to setup a storage server with salvaged equipments:
QSSC-S4R server, with QLogic 2562 FC HBA's
Clariion KTN-STL4 4GB FC Enclosures
Disks Salvaged from EMC Vmax

Disks are 520B sector size so i converted to 512B in linux environment and create multipath successfully. But in solaris, it doesnt create any multipath devices

root@replica:~# mpathadm list lu
root@replica:~# 

root@replica:~# luxadm probe

Found Fibre Channel device(s):
  Node WWN:5000cca00e7da718  Device Type:Disk device
    Logical Path:/dev/rdsk/c11t110d0s2
  Node WWN:5000cca00e6acb30  Device Type:Disk device
    Logical Path:/dev/rdsk/c11t114d0s2
  Node WWN:5000cca00e7db03c  Device Type:Disk device
    Logical Path:/dev/rdsk/c11t111d0s2
  Node WWN:5000cca00e7e4628  Device Type:Disk device
    Logical Path:/dev/rdsk/c11t112d0s2
  Node WWN:5000cca00e7dacd0  Device Type:Disk device
    Logical Path:/dev/rdsk/c11t113d0s2
  Node WWN:5000a72030027603  Device Type:Disk device
    Logical Path:/dev/rdsk/c11t107d0s2
  Node WWN:5000a720300297ea  Device Type:Disk device
    Logical Path:/dev/rdsk/c11t109d0s2
  Node WWN:5000a72030029682  Device Type:Disk device
    Logical Path:/dev/rdsk/c11t108d0s2
  Node WWN:5000a72030029683  Device Type:Disk device
    Logical Path:/dev/rdsk/c11t105d0s2
  Node WWN:5000a72030027732  Device Type:Disk device
    Logical Path:/dev/rdsk/c11t106d0s2
  Node WWN:5000cca00e7da718  Device Type:Disk device
    Logical Path:/dev/rdsk/c12t110d0s2
  Node WWN:5000cca00e6acb30  Device Type:Disk device
    Logical Path:/dev/rdsk/c12t114d0s2
  Node WWN:5000cca00e7db03c  Device Type:Disk device
    Logical Path:/dev/rdsk/c12t111d0s2
  Node WWN:5000cca00e7e4628  Device Type:Disk device
    Logical Path:/dev/rdsk/c12t112d0s2
  Node WWN:5000cca00e7dacd0  Device Type:Disk device
    Logical Path:/dev/rdsk/c12t113d0s2
  Node WWN:5000a72030027603  Device Type:Disk device
    Logical Path:/dev/rdsk/c12t107d0s2
  Node WWN:5000a720300297ea  Device Type:Disk device
    Logical Path:/dev/rdsk/c12t109d0s2
  Node WWN:5000a72030029682  Device Type:Disk device
    Logical Path:/dev/rdsk/c12t108d0s2
  Node WWN:5000a72030029683  Device Type:Disk device
    Logical Path:/dev/rdsk/c12t105d0s2
  Node WWN:5000a72030027732  Device Type:Disk device
    Logical Path:/dev/rdsk/c12t106d0s2

root@replica:~# cfgadm -al -o show_FCP_dev
Ap_Id                          Type         Receptacle   Occupant     Condition
c3                             fc           connected    unconfigured unknown
c4                             fc           connected    unconfigured unknown
c5                             fc           connected    unconfigured unknown
c6                             fc           connected    unconfigured unknown
c11                            fc-private   connected    configured   unknown
c11::5000a72a30027603,0        disk         connected    configured   unknown
c11::5000a72a30027732,0        disk         connected    configured   unknown
c11::5000a72a30029682,0        disk         connected    configured   unknown
c11::5000a72a30029683,0        disk         connected    configured   unknown
c11::5000a72a300297ea,0        disk         connected    configured   unknown
c11::5000cca00e6acb31,0        disk         connected    configured   unknown
c11::5000cca00e7da719,0        disk         connected    configured   unknown
c11::5000cca00e7dacd1,0        disk         connected    configured   unknown
c11::5000cca00e7db03d,0        disk         connected    configured   unknown
c11::5000cca00e7e4629,0        disk         connected    configured   unknown
c12                            fc-private   connected    configured   unknown
c12::5000a72b30027603,0        disk         connected    configured   unknown
c12::5000a72b30027732,0        disk         connected    configured   unknown
c12::5000a72b30029682,0        disk         connected    configured   unknown
c12::5000a72b30029683,0        disk         connected    configured   unknown
c12::5000a72b300297ea,0        disk         connected    configured   unknown
c12::5000cca00e6acb32,0        disk         connected    configured   unknown
c12::5000cca00e7da71a,0        disk         connected    configured   unknown
c12::5000cca00e7dacd2,0        disk         connected    configured   unknown
c12::5000cca00e7db03e,0        disk         connected    configured   unknown
c12::5000cca00e7e462a,0        disk         connected    configured   unknown
root@replica:~#

example device:

root@replica:~# luxadm display 5000a72a30027603
DEVICE PROPERTIES for disk: /dev/rdsk/c11t107d0s2
  Vendor:               STEC
  Product ID:           ZIV2A210 CLAR200
  Revision:             100H
  Serial Num:           STM000119E85
  Unformatted capacity: 190782.219 MBytes
  Read Cache:           Enabled
    Minimum prefetch:   0x0
    Maximum prefetch:   0x0
  Device Type:          Disk device
  Path(s):

  /dev/rdsk/c11t107d0s2
  /devices/pci@1,0/pci8086,340a@3/pci1077,15d@0/fp@0,0/disk@w5000a72a30027603,0:c,raw
   Controller           /dev/cfg/c11
    Device Address              5000a72a30027603,0
    Host controller port WWN    21000024ff4aec6a
   Controller           /dev/cfg/c12
    Device Address              5000a72b30027603,0
    Host controller port WWN    21000024ff4aec6b

Modules loaded and mpio working:

root@replica:~# egrep "^mpxio-disable=" /etc/driver/drv/*.conf
/etc/driver/drv/mpt.conf:mpxio-disable="no";

root@replica:~# modinfo -c |grep scsi_vhci
35  1       scsi_vhci                LOADED/INSTALLED
38  1       scsi_vhci_f_asym_sun     LOADED/INSTALLED
39  1       scsi_vhci_f_asym_lsi     LOADED/INSTALLED
40  1       scsi_vhci_f_asym_emc     LOADED/INSTALLED
41  1       scsi_vhci_f_sym_emc      LOADED/INSTALLED
42  1       scsi_vhci_f_sym_hds      LOADED/INSTALLED
43  1       scsi_vhci_f_sym          LOADED/INSTALLED
44  1       scsi_vhci_f_tpgs         LOADED/INSTALLED

Any way to create multipath device manually?

Thanks.

Hi,

You should be able to create the multi path devices with;

# stmsboot -D fp -e

Regards

Gull04

1 Like

Hi,

Thanks for the reply, it seems already enabled:

root@replica:/kernel/drv# stmsboot -D fp -e
STMS is already enabled. No changes or reboots needed

Regards.

Hi,

This would indicate that the server was already connected to the SAN and that the command has been run to stop the system displaying multiple paths for each device, normally the first time you run stsmbooyt a reboot is required.

Regards

Gull04

Solved with adding lines to /kernel/drv/scsi_vhci.conf

device-type-scsi-options-list =
  "HITACHI HUS15603 CLAR300", "f_sym",
  "STEC    ZIV2A210 CLAR200", "f_sym";

scsi-vhci-failover-override =
  "HITACHI HUS15603 CLAR300", "f_sym",
  "STEC    ZIV2A210 CLAR200", "f_sym";

then

stmsboot -u 

now everything is work correctly

root@replica:~# mpathadm show lu
Logical Unit:  /dev/rdsk/c0t5000CCA00E7DACD0d0s2
        mpath-support:  libmpscsi_vhci.so
        Vendor:  HITACHI
        Product:  HUS15603 CLAR300
        Revision:  C7A0
        Name Type:  unknown type
        Name:  5000cca00e7dacd0
        Asymmetric:  no
        Current Load Balance:  round-robin
        Logical Unit Group ID:  NA
        Auto Failback:  on
        Auto Probing:  NA

        Paths:
                Initiator Port Name:  21000024ff4aec6a
                Target Port Name:  5000cca00e7dacd1
                Override Path:  NA
                Path State:  OK
                Disabled:  no

                Initiator Port Name:  21000024ff4aec6b
                Target Port Name:  5000cca00e7dacd2
                Override Path:  NA
                Path State:  OK
                Disabled:  no

        Target Ports:
                Name:  5000cca00e7dacd1
                Relative ID:  0

                Name:  5000cca00e7dacd2
                Relative ID:  0

Logical Unit:  /dev/rdsk/c0t5000CCA00E7DA718d0s2
        mpath-support:  libmpscsi_vhci.so
        Vendor:  HITACHI
        Product:  HUS15603 CLAR300
        Revision:  C7A0
        Name Type:  unknown type
        Name:  5000cca00e7da718
        Asymmetric:  no
        Current Load Balance:  round-robin
        Logical Unit Group ID:  NA
        Auto Failback:  on
        Auto Probing:  NA

        Paths:
                Initiator Port Name:  21000024ff4aec6a
                Target Port Name:  5000cca00e7da719
                Override Path:  NA
                Path State:  OK
                Disabled:  no

                Initiator Port Name:  21000024ff4aec6b
                Target Port Name:  5000cca00e7da71a
                Override Path:  NA
                Path State:  OK
                Disabled:  no

        Target Ports:
                Name:  5000cca00e7da719
                Relative ID:  0

                Name:  5000cca00e7da71a
                Relative ID:  0

Logical Unit:  /dev/rdsk/c0t5000A72030029682d0s2
        mpath-support:  libmpscsi_vhci.so
        Vendor:  STEC
        Product:  ZIV2A210 CLAR200
        Revision:  100H
        Name Type:  unknown type
        Name:  5000a72030029682
        Asymmetric:  no
        Current Load Balance:  round-robin
        Logical Unit Group ID:  NA
        Auto Failback:  on
        Auto Probing:  NA

        Paths:
                Initiator Port Name:  21000024ff4aec6a
                Target Port Name:  5000a72a30029682
                Override Path:  NA
                Path State:  OK
                Disabled:  no

                Initiator Port Name:  21000024ff4aec6b
                Target Port Name:  5000a72b30029682
                Override Path:  NA
                Path State:  OK
                Disabled:  no

        Target Ports:
                Name:  5000a72a30029682
                Relative ID:  0

                Name:  5000a72b30029682
                Relative ID:  0

Logical Unit:  /dev/rdsk/c0t5000A72030027603d0s2
        mpath-support:  libmpscsi_vhci.so
        Vendor:  STEC
        Product:  ZIV2A210 CLAR200
        Revision:  100H
        Name Type:  unknown type
        Name:  5000a72030027603
        Asymmetric:  no
        Current Load Balance:  round-robin
        Logical Unit Group ID:  NA
        Auto Failback:  on
        Auto Probing:  NA

        Paths:
                Initiator Port Name:  21000024ff4aec6a
                Target Port Name:  5000a72a30027603
                Override Path:  NA
                Path State:  OK
                Disabled:  no

                Initiator Port Name:  21000024ff4aec6b
                Target Port Name:  5000a72b30027603
                Override Path:  NA
                Path State:  OK
                Disabled:  no

        Target Ports:
                Name:  5000a72a30027603
                Relative ID:  0

                Name:  5000a72b30027603
                Relative ID:  0

Logical Unit:  /dev/rdsk/c0t5000A72030029683d0s2
        mpath-support:  libmpscsi_vhci.so
        Vendor:  STEC
        Product:  ZIV2A210 CLAR200
        Revision:  100H
        Name Type:  unknown type
        Name:  5000a72030029683
        Asymmetric:  no
        Current Load Balance:  round-robin
        Logical Unit Group ID:  NA
        Auto Failback:  on
        Auto Probing:  NA

        Paths:
                Initiator Port Name:  21000024ff4aec6a
                Target Port Name:  5000a72a30029683
                Override Path:  NA
                Path State:  OK
                Disabled:  no

                Initiator Port Name:  21000024ff4aec6b
                Target Port Name:  5000a72b30029683
                Override Path:  NA
                Path State:  OK
                Disabled:  no

        Target Ports:
                Name:  5000a72a30029683
                Relative ID:  0

                Name:  5000a72b30029683
                Relative ID:  0

Logical Unit:  /dev/rdsk/c0t5000CCA00E6ACB30d0s2
        mpath-support:  libmpscsi_vhci.so
        Vendor:  HITACHI
        Product:  HUS15603 CLAR300
        Revision:  C7A0
        Name Type:  unknown type
        Name:  5000cca00e6acb30
        Asymmetric:  no
        Current Load Balance:  round-robin
        Logical Unit Group ID:  NA
        Auto Failback:  on
        Auto Probing:  NA

        Paths:
                Initiator Port Name:  21000024ff4aec6a
                Target Port Name:  5000cca00e6acb31
                Override Path:  NA
                Path State:  OK
                Disabled:  no

                Initiator Port Name:  21000024ff4aec6b
                Target Port Name:  5000cca00e6acb32
                Override Path:  NA
                Path State:  OK
                Disabled:  no

        Target Ports:
                Name:  5000cca00e6acb31
                Relative ID:  0

                Name:  5000cca00e6acb32
                Relative ID:  0

Logical Unit:  /dev/rdsk/c0t5000CCA00E7DB03Cd0s2
        mpath-support:  libmpscsi_vhci.so
        Vendor:  HITACHI
        Product:  HUS15603 CLAR300
        Revision:  C7A0
        Name Type:  unknown type
        Name:  5000cca00e7db03c
        Asymmetric:  no
        Current Load Balance:  round-robin
        Logical Unit Group ID:  NA
        Auto Failback:  on
        Auto Probing:  NA

        Paths:
                Initiator Port Name:  21000024ff4aec6a
                Target Port Name:  5000cca00e7db03d
                Override Path:  NA
                Path State:  OK
                Disabled:  no

                Initiator Port Name:  21000024ff4aec6b
                Target Port Name:  5000cca00e7db03e
                Override Path:  NA
                Path State:  OK
                Disabled:  no

        Target Ports:
                Name:  5000cca00e7db03d
                Relative ID:  0

                Name:  5000cca00e7db03e
                Relative ID:  0

Logical Unit:  /dev/rdsk/c0t5000A720300297EAd0s2
        mpath-support:  libmpscsi_vhci.so
        Vendor:  STEC
        Product:  ZIV2A210 CLAR200
        Revision:  100H
        Name Type:  unknown type
        Name:  5000a720300297ea
        Asymmetric:  no
        Current Load Balance:  round-robin
        Logical Unit Group ID:  NA
        Auto Failback:  on
        Auto Probing:  NA

        Paths:
                Initiator Port Name:  21000024ff4aec6a
                Target Port Name:  5000a72a300297ea
                Override Path:  NA
                Path State:  OK
                Disabled:  no

                Initiator Port Name:  21000024ff4aec6b
                Target Port Name:  5000a72b300297ea
                Override Path:  NA
                Path State:  OK
                Disabled:  no

        Target Ports:
                Name:  5000a72a300297ea
                Relative ID:  0

                Name:  5000a72b300297ea
                Relative ID:  0

Logical Unit:  /dev/rdsk/c0t5000CCA00E7E4628d0s2
        mpath-support:  libmpscsi_vhci.so
        Vendor:  HITACHI
        Product:  HUS15603 CLAR300
        Revision:  C7A0
        Name Type:  unknown type
        Name:  5000cca00e7e4628
        Asymmetric:  no
        Current Load Balance:  round-robin
        Logical Unit Group ID:  NA
        Auto Failback:  on
        Auto Probing:  NA

        Paths:
                Initiator Port Name:  21000024ff4aec6a
                Target Port Name:  5000cca00e7e4629
                Override Path:  NA
                Path State:  OK
                Disabled:  no

                Initiator Port Name:  21000024ff4aec6b
                Target Port Name:  5000cca00e7e462a
                Override Path:  NA
                Path State:  OK
                Disabled:  no

        Target Ports:
                Name:  5000cca00e7e4629
                Relative ID:  0

                Name:  5000cca00e7e462a
                Relative ID:  0

Logical Unit:  /dev/rdsk/c0t5000A72030027732d0s2
        mpath-support:  libmpscsi_vhci.so
        Vendor:  STEC
        Product:  ZIV2A210 CLAR200
        Revision:  100H
        Name Type:  unknown type
        Name:  5000a72030027732
        Asymmetric:  no
        Current Load Balance:  round-robin
        Logical Unit Group ID:  NA
        Auto Failback:  on
        Auto Probing:  NA

        Paths:
                Initiator Port Name:  21000024ff4aec6a
                Target Port Name:  5000a72a30027732
                Override Path:  NA
                Path State:  OK
                Disabled:  no

                Initiator Port Name:  21000024ff4aec6b
                Target Port Name:  5000a72b30027732
                Override Path:  NA
                Path State:  OK
                Disabled:  no

        Target Ports:
                Name:  5000a72a30027732
                Relative ID:  0

                Name:  5000a72b30027732
                Relative ID:  0


Moderator comments were removed during original forum migration.

This topic was automatically closed 58 days after the last reply. New replies are no longer allowed.