Remove the VLUN oracle1, and export oracle2 on the same LUN ID 6.
# removevlun oracle1 6 sqahpit2
# createvlun oracle2 6 sqahpit
Issuing
ioscan
on the HP-UX 11i v3 host shows the
scsimgr replace_wwid
in the
syslog.log
file and that the LUN path instances (19, 20) have failed the authentication.
# ioscan
# tail -f /var/adm/syslog/syslog.log
sqahpit2 vmunix: class : lunpath, instance 19
sqahpit2 vmunix: 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 = 0) The lun path is
(class = lunpath, instance 19).Run 'scsimgr replace_wwid' command to validate
the change
sqahpit2 vmunix: An attempt to probe existing LUN id 0x4006000000000000 failed
with errno of 14.
sqahpit2 vmunix: class : lunpath, instance 20
sqahpit2 vmunix: class : lunpath, instance 19
sqahpit2 vmunix: 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 = 1) The lun path is
(class = lunpath, instance 20).Run 'scsimgr replace_wwid' command to validate
the change
You can use oracle2 volume with the same device name (
/dev/rdisk/disk22
), which
was previously allocated to oracle1 and have the same LUN path instance (19, 20). This
feature is very useful for cases where applications, volume manager, file system do not
need to be reconfigured. Then, use the DSF option as part of the
scsimgr
replace_wwid
command which will preserve and reuse the existing device name
(
/dev/rdisk/disk22
).
Not using the DSF option will generate a new DSF names example
(
/dev/rdisk/disk23
) using the same LUN path instances.
# scsimgr replace_wwid -D /dev/rdisk/disk22 dsf
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 CLAIMED DEVICE 3PARdataVV
/dev/disk/disk22 /dev/rdisk/disk22
# 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 disk22
lunpath 20 0/0/4/1/1.0x21520002ac000036.0x4006000000000000 eslpt
CLAIMED LUN_PATH LUN path for disk22
# scsimgr get_attr -D /dev/rdisk/disk22
...
current = 0x50002ac0024f0036 --> Oracle2
Setting Up Multipathing Software on 11i v3
29