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


 
179Creating and administering disk groups
Handling disks with duplicated identifiers
These tags can be viewed by using the vxdisk listtag command:
# vxdisk listtag
DEVICE NAME VALUE
TagmaStore-USP0_24 t2 v2
TagmaStore-USP0_25 t1 v1
TagmaStore-USP0_28 t1 v1
TagmaStore-USP0_28 t2 v2
The following command ensures that configuration database copies and kernel
log copies are maintained for all disks in the disk group mydg that are tagged as
t1:
# vxdg -g mydg set tagmeta=on tag=t1 nconfig=all nlog=all
The disks for which such metadata is maintained can be seen by using this
command:
# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
TagmaStore-USP0_10 auto:cdsdisk - - online
TagmaStore-USP0_24 auto:cdsdisk mydg02 mydg online
TagmaStore-USP0_25 auto:cdsdisk mydg03 mydg online tagmeta
TagmaStore-USP0_26 auto:cdsdisk - - online
TagmaStore-USP0_27 auto:cdsdisk - - online
TagmaStore-USP0_28 auto:cdsdisk mydg01 mydg online tagmeta
Alternatively, the following command can be used to ensure that a copy of the
metadata is kept with a disk:
# vxdisk set TagmaStore-USP0_25 keepmeta=always
# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
TagmaStore-USP0_10 auto:cdsdisk - - online
TagmaStore-USP0_22 auto:cdsdisk - - online
TagmaStore-USP0_23 auto:cdsdisk - - online
TagmaStore-USP0_24 auto:cdsdisk mydg02 mydg online
TagmaStore-USP0_25 auto:cdsdisk mydg03 mydg online keepmeta
TagmaStore-USP0_28 auto:cdsdisk mydg01 mydg online
Importing cloned disks without tags
In the first example, cloned disks (shadow image devices) from an Hitachi
TagmaStore array are to be imported. The primary (non-cloned) disks, mydg01,
mydg02 and mydg03, are already imported, and the cloned disks are not tagged.
# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
TagmaStore-USP0_3 auto:cdsdisk - (mydg) online udid_mismatch
TagmaStore-USP0_23 auto:cdsdisk mydg02 mydg online
TagmaStore-USP0_25 auto:cdsdisk mydg03 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 mydg01 mydg online