3.7.0 HP StorageWorks HP Scalable NAS File Serving Software administration guide - HP Scalable NAS 3.7 for Linux (AG513-96002, October 2009)
target can be one of the following values:
A numerical index on the PSD device target array (0..).I
A decimal major/minor number identifying the host adapter.M,m
A hexadecimal major/minor number identifying the host adapter.M:m
A scsi bus ID. N is the scsi host adapter ID (0..) and C is the scsi host channel
number (0..) as defined in /proc/scsi/scsi and /proc/scsi/*/[0-
9]. If C is omitted, zero is assumed.
scsiN/C
A device node in /dev. The value is converted to a major/minor number
identifying the corresponding host adapter.
sdNsP
With the exception of I (the array index), the value specified is converted to the
corresponding host adapter/channel before being used to select the target.
An example of changing the I/O path
In this example, we will change the target for a device. The mxmpio status -l
command identifies the path currently being used by each device. That path is labeled
“active.” The following output shows that device psd2p1 is active on target 1.
# /opt/hpcfs/sbin/mxmpio status -l
MPIO Failover is globally enabled
Failover Timeout Targets
psd1 enabled 30000 0. (41:50) scsi2/0/2/19 (active)
1. (08:90) scsi1/0/2/19
psd1p1 enabled 10000 0. (41:51) scsi2/0/2/19
1. (08:91) scsi1/0/2/19 (active)
psd1p2 enabled 30000 0. (41:52) scsi2/0/2/19 (active)
1. (08:92) scsi1/0/2/19
psd2 enabled 30000 0. (41:10) scsi2/0/1/20 (active)
1. (08:50) scsi1/0/1/20
psd2p1 enabled 10000 0. (41:11) scsi2/0/1/20
1. (08:51) scsi1/0/1/20 (active)
psd2p2 enabled 30000 0. (41:12) scsi2/0/1/20 (active)
1. (08:52) scsi1/0/1/20
Now use the mxmpio command to change the path for psd2p1 to target 0:
# /opt/hpcfs/sbin/mxmpio active 0 psd2p1
To verify the change, run the mxmpio status -l command again. In the following
output, device psd2p1 is now active on target 0.
Configure the SAN98