Creating multipath device with FC Disks


 
Thread Tools Search this Thread
Operating Systems Solaris Creating multipath device with FC Disks
# 1  
Old 09-23-2019
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

Code:
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:
Code:
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:
Code:
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.
Moderator's Comments:
Mod Comment
Code tags please!

Last edited by Peasant; 09-23-2019 at 09:02 AM..
# 2  
Old 09-23-2019
Hi,

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

Code:
# stmsboot -D fp -e

Regards

Gull04
This User Gave Thanks to gull04 For This Post:
# 3  
Old 09-23-2019
Hi,

Thanks for the reply, it seems already enabled:

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

Regards.

Last edited by Neo; 09-23-2019 at 09:52 AM.. Reason: Added code tags.. please use them when you post.
# 4  
Old 09-23-2019
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
# 5  
Old 10-09-2019
Solved with adding lines to /kernel/drv/scsi_vhci.conf

Code:
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

Code:
stmsboot -u

now everything is work correctly

Code:
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

Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Red Hat

Unable to create customized multipath device

Hi, I am testing on iSCSI + multipath, where i have one iSCSI lun assigned to one server. mpatha (1IET 00010001) dm-2 IET,VIRTUAL-DISK size=100M features='0' hwhandler='0' wp=rw |-+- policy='round-robin 0' prio=1 status=active | `- 2:0:0:1 sda 8:0 active ready running `-+-... (6 Replies)
Discussion started by: linux.amrit
6 Replies

2. HP-UX

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

Hi, Unable to make tape backup, please help. /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00 * Creating local directories for configuration files and archive. ======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery. (Mon... (4 Replies)
Discussion started by: anuragr
4 Replies

3. Linux

Creating file systems (LVM v Multipath)

Hi all I have a system running: uname -o GNU/Linux that has already some file systems created: df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_outsystemdb-lv_root 50G 2.7G 45G 6% / tmpfs 28G 72K 28G 1%... (5 Replies)
Discussion started by: fretagi
5 Replies

4. Red Hat

Raw device/multipath details

Hi, How to find the raw device/multipath details of the LUN used by the diskgroups of the database. file system type -- ASM Oracle -- 11.2.0.3.0 OS -- Linux This is RAC database. Regards, Maddy (2 Replies)
Discussion started by: Maddy123
2 Replies

5. Linux

If i don't have raid disks can i shut down dmraid device-mapper?

hello my centOS newly installed system loading dmraid modules on startup I did remove all LVM/raid things from system installation menus and after installation too but dmraid is still there and he says: no raid disks found also I did modprobe -r dm_raid45 and it do remove it but only until... (7 Replies)
Discussion started by: tip78
7 Replies

6. Red Hat

device-mapper-multipath path [undef]

I have an HP blade with Qlogic HBA's connected to an EVA8000. I have downloaded the latest multipath.conf from HP's website. The drive presented to the server appears to be configured and working except the output of "multipath -l" shows for all paths. What is causing this output? mpath0... (2 Replies)
Discussion started by: manzier
2 Replies

7. Linux

Query about creating sysfs directory under device driver

Hi all, Currently i am involved in developing a device driver for a custom hardware. My linux stack already has the sysfs directory structure /sys/class/hwmon/ My need is that, while loading my device driver i need to create a "xyz" sysfs directory inside hwmon sysfs directory as... (0 Replies)
Discussion started by: cbalu
0 Replies

8. Solaris

Creating an image of a mirrored disks

Hi guys, I havent done this before but iam trying to create an image of a mirrorred drive. Correct me if iam wrong, but when i have two disks setup in raid configuration and have them mirrored in solaris. It then defines at one entity. How would i create a "flar" image of that one entity... (3 Replies)
Discussion started by: tlee
3 Replies
Login or Register to Ask a Question