HP (Hewlett-Packard) HP-UX 11i v3 Landscape Lighting User Manual


 
180 Creating and administering disk groups
Handling disks with duplicated identifiers
To import the cloned disks, they must be assigned a new disk group name, and
their UDIDs must be updated:
# vxdg -n newdg -o useclonedev=on -o updateid import mydg
# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
TagmaStore-USP0_3 auto:cdsdisk mydg03 newdg online clone_disk
TagmaStore-USP0_23 auto:cdsdisk mydg02 mydg online
TagmaStore-USP0_25 auto:cdsdisk mydg03 mydg online
TagmaStore-USP0_30 auto:cdsdisk mydg02 newdg online clone_disk
TagmaStore-USP0_31 auto:cdsdisk mydg01 newdg online clone_disk
TagmaStore-USP0_32 auto:cdsdisk mydg01 mydg online
Note that the state of the imported cloned disks has changed from online
udid_mismatch to online clone_disk.
In the next example, none of the disks (neither cloned nor non-cloned) have
been imported:
# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
TagmaStore-USP0_3 auto:cdsdisk - (mydg) online udid_mismatch
TagmaStore-USP0_23 auto:cdsdisk - (mydg) online
TagmaStore-USP0_25 auto:cdsdisk - (mydg) online
TagmaStore-USP0_30 auto:cdsdisk - (mydg) online udid_mismatch
TagmaStore-USP0_31 auto:cdsdisk - (mydg) online udid_mismatch
TagmaStore-USP0_32 auto:cdsdisk - (mydg) online
To import only the cloned disks into the mydg disk group:
# vxdg -o useclonedev=on -o updateid import mydg
# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
TagmaStore-USP0_3 auto:cdsdisk mydg03 mydg online clone_disk
TagmaStore-USP0_23 auto:cdsdisk - (mydg) online
TagmaStore-USP0_25 auto:cdsdisk - (mydg) online
TagmaStore-USP0_30 auto:cdsdisk mydg02 mydg online clone_disk
TagmaStore-USP0_31 auto:cdsdisk mydg01 mydg online clone_disk
TagmaStore-USP0_32 auto:cdsdisk - (mydg) online
In the next example, a cloned disk (BCV device) from an EMC Symmetrix DMX
array is to be imported. Before the cloned disk, EMC0_27, has been split off from
the disk group, the
vxdisk list command shows that it is in the error
udid_mismatch state:
# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
EMC0_1 auto:cdsdisk EMC0_1 mydg online
EMC0_27 auto - - error udid_mismatch
The symmir command is used to split off the BCV device:
# /usr/symcli/bin/symmir -g mydg split DEV001
After updating VxVM’s information about the disk by running the vxdisk
scandisks command, the cloned disk is in the online udid_mismatch state:
# vxdisk -o alldgs list