To use multipathing in SnapDrive for UNIX, you need to complete some steps that include installing and starting the HBA card. If you are using a third-party multipathing solution, you must download the software and application package from the HBA vendor's web site.
To ensure you have the current version of the system components, see the Interoperability Matrix for FC and iSCSI products.
Support for new components is continually added. The Interoperability Matrix contains a complete list of supported HBAs, platforms, applications, and drivers.
0001-876 Admin error: HBA assistant not found
You must ensure that the required number of paths are up and running. You can verify the paths by using the sanlun utility, which comes with the Host Utilities software. For example, in the FC multipathing configuration, you can use the sanlun fcp show adapter -v command.
# sanlun fcp show adapter -v adapter name: fcd0 WWPN: 50060b000038c428 WWNN: 50060b000038c429 driver name: fcd model: A6826A model description: Fibre Channel Mass Storage Adapter (PCI/PCI-X) serial number: Not Available hardware version: 3 driver version: @(#) libfcd.a HP Fibre Channel ISP 23xx & 24xx Driver B.11.23.04 /ux/core/isu/FCD/kern/src/common/wsio/fcd_init.c:Oct 18 2005,08:19:50 firmware version: 3.3.18 Number of ports: 1 of 2 port type: Fabric port state: Operational supported speed: 2 GBit/sec negotiated speed: 2 GBit/sec OS device name: /dev/fcd0 adapter name: fcd1 WWPN: 50060b000038c42a WWNN: 50060b000038c42b driver name: fcd model: A6826A model description: Fibre Channel Mass Storage Adapter (PCI/PCI-X) serial number: Not Available hardware version: 3 driver version: @(#) libfcd.a HP Fibre Channel ISP 23xx & 24xx Driver B.11.23.04 /ux/core/isu/FCD/kern/src/common/wsio/fcd_init.c:Oct 18 2005,08:19:50 firmware version: 3.3.18 Number of ports: 2 of 2 port type: Fabric port state: Operational supported speed: 2 GBit/sec negotiated speed: 2 GBit/sec OS device name: /dev/fcd1
[root@lnx221-75 ~]# sanlun lun show filer: lun-pathname device filename adapter protocol lun size lun state f960-221-167: /vol/vol1/lun1 /dev/sdd host5 FCP 100m (104857600) GOOD f960-221-167: /vol/vol1/lun1 /dev/sdc host6 FCP 100m (104857600) GOOD
If you are using QLogic adapter with FC connectivity, download the QLogic rescan script from the QLogic web site and copy it to the /root path (for example, /root/dynamic-lun-rescan.sh). The QLogic rescan script asks for user confirmation; SnapDrive for UNIX might hang indefinitely at this confirmation stage. You can avoid this confirmation by setting the variable QL_DISABLE_WARNING to 1 in the script.
Earlier versions of SnapDrive for UNIX used vendor-specific SCSI rescan scripts to scan LUNs over FCP, and thereby copying vendor-specific script to /root/dynamic-lun-rescan.sh. This was made available until RHEL 5U3.
For RHEL 5U4/ SLES 10SP2 and later versions, the rescan script is currently available in the /usr/bin directory. In case the rescan script is not available in the directory, it is present along with the sg3_utils package.
Host platform | Default transport type | Multipathing type | fstype | vmtype |
Linux | iscsi | nativempio | ext4 or ext3 | lvm |
iscsi | none | ext4 or ext3 | lvm | |
FCP | none | ext4 or ext3 | lvm | |
FCP | nativempio | ext4 or ext3 | lvm |
SnapDrive for UNIX automatically checks this file each time it starts. You must restart the SnapDrive for UNIX daemon for the changes to take effect.