Writing a new UDID to a disk

You can use the following command to update the unique disk identifier (UDID) for one or more disks. This is useful when building a new LUN from space previously used by a deleted LUN, for example.

# vxdisk [-f] [-g diskgroup ] updateudid disk ...

This command uses the current value of the UDID that is stored in the Device Discovery Layer (DDL) database to correct the value in the private region. The -f option must be specified if VxVM has not set the udid_mismatch flag for a disk.

For example, the following command updates the UDIDs for the disks sdg and sdh:

# vxdisk updateudid sdg sdh