scsimgr SCSI Management and Diagnostics utility on HP-UX 11i v3 (March 2008)
0/1/1/0.0x0.0x0
/dev/disk/disk15 /dev/rdisk/disk15
disk15 WWID:
# scsimgr -p get_attr -D /dev/rdisk/disk15 -a wwid
0x0004cffffebbf737
The system administrator replaces disk15 with a back-up disk containing the same data, but with a
different WWID (0x0004cffffebbe43e). The target id and LUN id remain the same.
As the new disk is accessed through the same HBA and the target identifier and LUN identifier remain
the same, its lunpath hardware path remains: 0/1/1/0.0x0.0x0.
The system administrator re-initializes device probing by running the ioscan command.
The SCSI stack discovers a different disk at the lunpath with the hardware path 0/1/1/0.0x0.0x0. It
sets this lunpath’s SPOC state to “authentication failure” to prevent data corruption in case the change
was not intentional. The SCSI stack also logs the following message to alert the system administrator:
Evpd inquiry page 83h/80h failed or the current page 83h/80h data do not match the previous
known page 83h/80h data on LUN id 0x0 probed beneath the target path (class = tgtpath,
instance = 3). The lun path is (class = lunpath, instance = 0). Run 'scsimgr replace_wwid'
command to validate the change.
The system administrator can view the SPOC state of the lunpath in the log message by running the
following command:
# scsimgr get_info -C lunpath -I 0
STATUS INFORMATION FOR LUN PATH : lunpath0
Generic Status Information
SCSI services internal state = ACTIVE
Open close state = AUTH_FAILED
Protocol = parallel_scsi
EVPD page 0x83 description code = 1
EVPD page 0x83 description association = 0
EVPD page 0x83 description type = 2
World Wide Identifier (WWID) = 0x0004cffffebbe43e
Outstanding I/Os = 0
Maximum I/O timeout in seconds = 30
Maximum I/O size allowed = 1380352
Maximum number of active I/Os allowed = 8
Current active I/Os = 0
Maximum queue depth = 8
Queue full delay count = 0
To validate disk15 replacement, run the ‘scsimgr replace_wwid’ command. This command has
three options:
• Validate the replacement for a specific lunpath
• Validate the replacement for all paths of disk15
• Validate the replacement for all lunpaths beneath the target paths through, which disk15 was
discovered
Validating disk replacement on a single lunpath
To validate the replacement for the lunpath run the following command:
# scsimgr -f replace_wwid -C lunpath -I 0
30