Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

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
Creating and administering disk groups
Handling cloned disks with duplicated identifiers
236