Without using the dsf option
# scsimgr replace_wwid -D /dev/rdisk/disk22
scsimgr:WARNING: Performing replace_wwid on the resource may have some
impact on system operation.
Do you really want to replace? (y/[n])? y
scsimgr: Successfully validated binding of LUN paths with new LUN.
# ioscan -kfnNC disk
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
...
disk 22 64000/0xfa00/0x244 esdisk NO_HW DEVICE 3PARdataVV
/dev/disk/disk22 /dev/rdisk/disk22
disk 23 64000/0xfa00/0x245 esdisk CLAIMED DEVICE 3PARdataVV
/dev/disk/disk23 /dev/rdisk/disk23
# ioscan -kfnNC lunpath
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
lunpath 19 0/0/4/1/0.0x20420002ac000036.0x4006000000000000 eslpt
CLAIMED LUN_PATH LUN path for disk23
lunpath 20 0/0/4/1/1.0x21520002ac000036.0x4006000000000000 eslpt
CLAIMED LUN_PATH LUN path for disk23
# scsimgr get_attr -D /dev/rdisk/disk23
...
current = 0x50002ac0024f0036 --> Oracle2
j.
In cases where all the LUNs below the target port are put in authentication state, which
can happen when the target port was moved but the LUNs are same, then the target port
must be authenticated. Use the following command to authenticate a target:
# scsimgr -f replace_wwid -C tgtpath -I 3
scsimgr: Successfully validated binding of LUN paths with new LUN
The target instance can be obtained using the “ioscan -kfnNC tgtpath” command
k.
You can change the DSF name to a new name or to an existing stale device using the
io_redirect_dsf
command.
The following example shows the host converting
/dev/disk/disk23
to the stale
/dev/disk/disk22
.
CAUTION:
All I/O should be paused and the disk reconfigured from Volume Manger
or Application before changing the name. For details, consult the appropriate HP
documentation.
# io_redirect_dsf -d /dev/disk/disk23 -n /dev/disk/disk22
# ioscan
# ioscan -kfnNC disk
..
disk 23 64000/0xfa00/0x244 esdisk NO_HW DEVICE 3PARdataVV
/dev/disk/disk23 /dev/rdisk/disk23
disk 22 64000/0xfa00/0x245 esdisk CLAIMED DEVICE 3PARdataVV
/dev/disk/disk22 /dev/rdisk/disk22
30
Allocating Storage for Access by the HP-UX Host