LUN reuse can cause the udid_maimatch flag to be set on a disk.
book
Article ID: 100029713
calendar_today
Updated On:
Description
Error Message
LUN reuse can cause the udid_maimatch flag to be set on a disk.
Resolution
The following procedure demonstrates how the "udid_mismatch" flag can be set for a logical unit number(LUN):
1. Destroy diskgroup
2. vxdiskunsetup the disk(s)
3. Remove the disk assignment (vxdisk rm)
4. Remove LUN assignment from the Operating System (OS).
5. Add new LUNS that re-use the original assignment
6. vxconfigd-k
This procedure can result in the reused disks beingf lagged:
$ vxdisk list
DEVICE TYPE DISK GROUP STATUS
sdi auto:cdsdisk sdi test6dg onlineudid_mismatch
sdj auto:cdsdisk sdjtest6dg online udid_mismatch
Workaround:
After step 3 disable all paths too the lun using vxdmpadm. For example for a LUN with two paths (Execute vxdisk list sd(x)' to determine the paths)
vxdmpadm disable path=sd(x)
vxdmpadm -f disable path=sd(y) [last path to diskrequires -f flag]
Afte re-adding the luns, execute 'vxconfigd -k' or 'vxdctl enable,' and manually enable the paths (if still in disabled state):
vxdmpadm enable path=sd(x)
vxdmpadm enable path=sd(y)
Issue/Introduction
Reusing a LUN can result in the setting of the udid_mismatch flag.
Was this article helpful?
thumb_up
Yes
thumb_down
No