Displays information about paths to a MultiPath I/O (MPIO) capable device.
lspath [ -dev DeviceName ] [ -pdev Parent ] [ -status Status ] [ -conn Connection ] [ -field FieldName ] [ -fmt Delimiter ]
lspath -dev DeviceName -pdev Parent [ -conn Connection ] -lsattr [ -attr Attribute... ]
lspath -dev DeviceName -pdev Parent [ -conn Connection ] -range -attr Attribute
The lspath command displays one of three types of information about paths to an MPIO capable device. It either displays the operational status for one or more paths to a single device, or it displays one or more attributes for a single path to a single MPIO capable device. The first syntax shown above displays the operational status for one or more paths to a particular MPIO capable device. The second syntax displays one or more attributes for a single path to a particular MPIO capable device. Finally, the third syntax displays the possible range of values for an attribute for a single path to a particular MPIO capable device.
| Return code | Description |
|---|---|
| 1 | Invalid status value. |
lspath -status disabledThe system will display a message similar to the following:
disabled hdisk1 scsi1 disabled hdisk2 scsi1 disabled hdisk23 scsi8 disabled hdisk25 scsi8
lspath -status failedThe system will display a message similar to the following:
failed hdisk1 scsi1 failed hdisk2 scsi1 failed hdisk23 scsi8 failed hdisk25 scsi8
lspath -dev hdisk10 -pdev scsi0 -conn "5,0" -lsattrThe system will display a message similar to the following:
weight 1 Order of path failover selection true