Вы находитесь на странице: 1из 3

Problem

Explanation of what the udid_mismatch flag indicates in vxdisk list output

Solution
UDID stands for Unique Device Identification. This is a feature introduced beginning in Storage Foundation 5.0 that was designed to enable import of cloned LUNs presented on the same host as the source disks. A UDID is generated for every device discovered by Volume Manager and is composed of the following information: Vendor ID (VID) Product ID (PID) Cabinet Serial Number (Array serial number) LUN Serial Number (Serial number for LUN on array) This string is visible in "vxdisk list (device)" output:
# vxdisk list ams_wms0_5 | grep udid udid: HITACHI%5FDF600F%5F73061247%5F0005

The component parts are separated by the '_' character, encoded here as %5F, so we can readily observe the following from the above string: VID = HITACHI PID = DF600F Cabinet Serial Number = 73061247 LUN Serial Number = 0005 It is important to note that Cabinet/LUN serial numbers are different than the SCSI serial number. SCSI serial numbers are encoded differently on a frame by frame basis. For instance, the AMS/WMS frames will present the SCSI serial number as a combination for Cabinet and LUN:
# /etc/vx/diag.d/vxdmpinq /dev/rdsk/c0t50060E80104EF3F0d1s2 Inquiry for /dev/rdsk/c0t50060E80104EF3F0d1s2, evpd 0x0, page code 0x0 Vendor id : HITACHI Product id : DF600F Revision : 0000 Serial Number : 730612470005

(NOTE: In 5.1 the vxdmpinq command has been renamed vxscsiinq.)

What "udid_mismatch" indicates:


# vxdisk list DEVICE TYPE DISK GROUP STATUS ams_wms0_4 auto:cdsdisk d01 nadg online ams_wms0_5 auto:cdsdisk - - online udid_mismatch disk_0 auto:none - - online invalid disk_1 auto:none - - online invalid

In this example, the ams_wms0_5 device was created as an atomic bit-for-bit copy of the ams_wms0_4 LUN.
# /etc/vx/diag.d/vxprivutil list /dev/rdsk/c0t50060E80104EF3F0d1s2 | grep udid tagid priv 2016- 2031[ 16]: tag=udid_asl=HITACHI%5FDF600F%5F73061247%5F0004

Compare this UDID with the UDID above from ams_wms0_4. This device is being labeled as 'udid_mismatch' because the current device's UDID string does not match the UDID string stored in the disk's private region. This is an expected condition for LUNs created through processes such as BCV, Shadow Copy, or any other LUN duplicate methods. The this is because the physical device's information is different than the original source LUNs. In most environments this flag can be ignored as an expected result of presenting duplicated Volume Manager initialized LUNs. For environments where this flag is undesired, the cloned disk groups can be imported with the following parameter to change the udid_mismatch flag into the 'cloned' flag:
# vxdg -o useclonedev=on import nadg # vxdisk list DEVICE TYPE DISK GROUP STATUS ams_wms0_4 auto:cdsdisk - - online ams_wms0_5 auto:cdsdisk d01 nadg online cloned disk_0 auto:none - - online invalid disk_1 auto:none - - online invalid

Situations involved array configuration issues or HBA configuration problems can also cause the 'udid_mismatch' flag to appear, usually in tandem with other DMP issues. If the environment is working normally, and you do not experience any functional issues when working with 'udid_mismatch' flagged LUNs, and the LUNs in question are create through some form of LUN duplication procedure, then there is no issue and you do not need to pursue the issue further. For environments where you are not using cloned LUNs and you are experiencing other

issues such as paths not being multipathed correctly, or other DMP issues, please contact Technical Support for further investigation.

Вам также может понравиться