scsimgr SCSI Management and Diagnostics utility on HP-UX 11i v3 (March 2008)
Legacy lun path (default minor = 0x110100) mapping to LUN (default minor = 0x6) could not be
cleared in the context of rmsf on new LUN path
(0/4/1/0/4/0.0x50002fe250006e6c.0x4001000000000000).
Close the legacy LUN path before running ioscan to re-map the legacy lun path to a new LUN.
After the change is validated, the impacted legacy DSFs are bound to the disks of the disk array DA2
as shown in the following ioscan output.
# ioscan -m hwpath
Lun H/W Path Lunpath H/W Path Legacy H/W Path
====================================================================
64000/0xfa00/0x6
0/4/1/0/4/0.0x50001fe150006e69.0x4001000000000000
0/4/1/0/4/0.1.2.0.0.0.1
0/4/1/0/4/0.0x50001fe150006e68.0x4001000000000000
64000/0xfa00/0x7
0/4/1/0/4/0.0x50001fe150006e69.0x4002000000000000
0/4/1/0/4/0.1.2.0.0.0.2
0/4/1/0/4/0.0x50001fe150006e68.0x4002000000000000
64000/0xfa00/0x8
0/4/1/0/4/0.0x50001fe150006e69.0x4003000000000000
0/4/1/0/4/0.1.2.0.0.0.3
0/4/1/0/4/0.0x50001fe150006e68.0x4003000000000000
64000/0xfa00/0x9
0/4/1/0/4/0.0x50001fe150006e69.0x4004000000000000
0/4/1/0/4/0.1.2.0.0.0.4
0/4/1/0/4/0.0x50001fe150006e68.0x4004000000000000
64000/0xfa00/0xa
0/4/1/0/4/0.0x50001fe150006e69.0x4005000000000000
0/4/1/0/4/0.1.2.0.0.0.5
0/4/1/0/4/0.0x50001fe150006e68.0x4005000000000000
64000/0xfa00/0xb
0/4/1/0/4/0.0x50002fe250006e6c.0x4001000000000000
0/4/1/0/4/0.1.2.0.0.0.1
64000/0xfa00/0xc
0/4/1/0/4/0.0x50002fe250006e6c.0x4002000000000000
0/4/1/0/4/0.1.2.0.0.0.2
64000/0xfa00/0xd
0/4/1/0/4/0.0x50002fe250006e6c.0x4003000000000000
0/4/1/0/4/0.1.2.0.0.0.3
64000/0xfa00/0xe
0/4/1/0/4/0.0x50002fe250006e6c.0x4004000000000000
0/4/1/0/4/0.1.2.0.0.0.4
64000/0xfa00/0xf
0/4/1/0/4/0.0x50002fe250006e6c.0x4005000000000000
0/4/1/0/4/0.1.2.0.0.0.5
Disabling LUNs and lunpaths for SAN maintenance
For maintenance and troubleshooting, you can disable I/O transfer on a lunpath of a block device or
all lunpaths of a block device. When a lunpath or a LUN is disabled, its health state is set to
‘disabled’.
To disable the lunpath 0/4/1/0/4/0.0x50001fe150006e69.0x400f000000000000 you can run
the scsimgr command below. Note the health property displayed with the ioscan command.
# scsimgr -f disable -H 0/4/1/0/4/0.0x50001fe150006e69.0x400f000000000000
LUN path 0/4/1/0/4/0.0x50001fe150006e69.0x400f000000000000 disabled successfully
# ioscan -P health -H 0/4/1/0/4/0.0x50001fe150006e69.0x400f000000000000
Class I H/W Path health
===============================
lunpath 27 0/4/1/0/4/0.0x50001fe150006e69.0x400f000000000000 disabled
To disable disk100 for I/O transfer.
# scsimgr -f disable -D /dev/rdisk/disk100
39