Go to main content

Managing SAN Devices and I/O Multipathing in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

Disabling and Enabling a Logical Unit Path

You can disable and enable a logical unit path depending on your requirement. The following sections describe how to disable or enable a logical unit path.

Disabling a Logical Unit Path

You can disable an LU path regardless of its operational state. To disable the selected LU path, the full path must be specified by using the initiator port name, target port name, and the LU.

You can use the mpathadm show lu command to list the initiator port name and target port name for a specific path. For more information, see Displaying Multipathing Information.

The following example shows how to disable the LU path:

# mpathadm disable path -i 210000e08b841feb -t 200900a0b826d63b \
           -l /dev/rdsk/c0t600A0B800029065C00007CF34E233F89d0s2

You can use the mpathadm show lu command to verify that the path was disabled. For more information, see Displaying Multipathing Information.

Enabling a Logical Unit Path

If the path to an LU is disabled, you can use the mpathadm enable command to enable the logical unit path. To enable the LU path, you must specify the full path by using the initiator port name, target port name, and the LU.

The following example shows how to enable the LU path:

# mpathadm enable path -i 210000e08b841feb -t 200900a0b826d63b \ 
           -l /dev/rdsk/c0t600A0B800026D63A0000A4984E234298d0s2

You can use the mpathadm show lu command to verify that the path is enabled. For more information, see Displaying Multipathing Information.