How to Enable Multipathing
- Become an administrator.
- Confirm that the multipathing software package is installed.
# pkg info system/storage/multipath-utilities Name: system/storage/multipath-utilities Summary: Solaris Multipathing CLI Description: Path Administration Utility for a Solaris Multipathing device Category: Applications/System Utilities State: Installed Publisher: solaris Version: 0.5.11 Build Release: 5.11 Branch: 0.175.0.0.0.0.0 Packaging Date: Tue Sep 27 01:40:01 2011 Size: 77.29 kB FMRI: pkg://solaris/system/storage/multipath-utilities@ 0.5.11,5.11-0.175.0.0.0.0.0:20110927T014001Z
If not, install it.
# pkg install system/storage/multipath-utilities
- Enable device multipathing.
# stmsboot -e WARNING: stmsboot operates on each supported multipath-capable controller detected in a host. In your system, these controllers are /devices/pci@780/pci@0/pci@8/SUNW,qlc@0/fp@0,0 /devices/pci@780/pci@0/pci@8/SUNW,qlc@0,1/fp@0,0 /devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@1 /devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@1 /devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2 /devices/pci@7c0/pci@0/pci@9/LSILogic,sas@0 /devices/pci@7c0/pci@0/pci@9/LSILogic,sas@0 If you do NOT wish to operate on these controllers, please quit stmsboot and re-invoke with -D { fp | mpt } to specify which controllers you wish to modify your multipathing configuration for. Do you wish to continue? [y/n] (default: y) y Checking mpxio status for driver fp Checking mpxio status for driver mpt WARNING: This operation will require a reboot. Do you want to continue ? [y/n] (default: y) y The changes will come into effect after rebooting the system. Reboot the system now ? [y/n] (default: y) y
Note – During the reboot, /etc/vfstab and the dump configuration are updated to reflect the device name changes.
How to Disable Multipathing
- Disable device multipathing.
# stmsboot -d WARNING: stmsboot operates on each supported multipath-capable controller detected in a host. In your system, these controllers are /devices/pci@780/pci@0/pci@8/SUNW,qlc@0/fp@0,0 /devices/pci@780/pci@0/pci@8/SUNW,qlc@0,1/fp@0,0 /devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@1 /devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@1 /devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2 /devices/pci@7c0/pci@0/pci@9/LSILogic,sas@0 /devices/pci@7c0/pci@0/pci@9/LSILogic,sas@0 If you do NOT wish to operate on these controllers, please quit stmsboot and re-invoke with -D { fp | mpt } to specify which controllers you wish to modify your multipathing configuration for. Do you wish to continue? [y/n] (default: y) y Checking mpxio status for driver fp Checking mpxio status for driver mpt WARNING: This operation will require a reboot. Do you want to continue ? [y/n] (default: y) y The changes will come into effect after rebooting the system. Reboot the system now ? [y/n] (default: y) y
Note – During the reboot, /etc/vfstab and the dump configuration are updated to reflect the device name changes.