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


 
181Creating and administering disk groups
Handling disks with duplicated identifiers
DEVICE TYPE DISK GROUP STATUS
EMC0_1 auto:cdsdisk EMC0_1 mydg online
EMC0_27 auto:cdsdisk - - online udid_mismatch
The following command imports the cloned disk into the new disk group newdg,
and updates the disk’s UDID:
# vxdg -n newdg -o useclonedev=on -o updateid import mydg
The state of the cloned disk is now shown as online clone_disk:
# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
EMC0_1 auto:cdsdisk EMC0_1 mydg online
EMC0_27 auto:cdsdisk EMC0_1 newdg online clone_disk
Importing cloned disks with tags
In this example, cloned disks (BCV devices) from an EMC Symmetrix DMX array
are to be imported. The primary (non-cloned) disks, mydg01, mydg02 and
mydg03, are already imported, and the cloned disks with the tag t1 are to be
imported.
# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
EMC0_4 auto:cdsdisk mydg01 mydg online
EMC0_6 auto:cdsdisk mydg02 mydg online
EMC0_8 auto:cdsdisk - (mydg) online udid_mismatch
EMC0_15 auto:cdsdisk - (mydg) online udid_mismatch
EMC0_18 auto:cdsdisk mydg03 mydg online
EMC0_24 auto:cdsdisk - (mydg) online udid_mismatch
The disks are tagged as follows:
# vxdisk listtag
DEVICE NAME VALUE
EMC0_4 t2 v2
EMC0_4 t1 v1
EMC0_6 t2 v2
EMC0_8 t1 v1
EMC0_15 t2 v2
EMC0_18 t1 v1
EMC0_24 t1 v1
EMC0_24 t2 v2
To import the cloned disks that are tagged as t1, they must be assigned a new
disk group name, and their UDIDs must be updated:
# vxdg -n newdg -o useclonedev=on -o tag=t1 -o updateid import mydg
# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
EMC0_4 auto:cdsdisk mydg01 mydg online
EMC0_6 auto:cdsdisk mydg02 mydg online
EMC0_8 auto:cdsdisk mydg03 newdg online clone_disk
EMC0_15 auto:cdsdisk - (mydg) online udid_mismatch
EMC0_18 auto:cdsdisk mydg03 mydg online
EMC0_24 auto:cdsdisk mydg01 newdg online clone_disk