Veritas Volume Manager 5.0.1 Administrator's Guide, HP-UX 11i v3, First Edition, November 2009

# vxdg -o useclonedev=on -o tag=my_tagged_disks import mydg
If you have already imported the non-cloned disks in a disk group, you can use
the -n and -t option to specify a temporary name for the disk group containing
the cloned disks:
# vxdg -t -n clonedg -o useclonedev=on -o tag=my_tagged_disks \
import mydg
See Renaming a disk group on page 213.
To remove a tag from a disk, use the vxdisk rmtag command, as shown in the
following example:
# vxdisk rmtag tag=my_tagged_disks c2t67d0
See the vxdisk(1M) and vxdg(1M) manual pages.
Sample cases of operations on cloned disks
The following sections contain examples of operations that can be used with
cloned disks:
See Enabling configuration database copies on tagged disks on page 208.
See Importing cloned disks without tags on page 209.
See Importing cloned disks with tags on page 211.
Enabling configuration database copies on tagged disks
In this example, the following commands have been used to tag some of the disks
in an Hitachi TagmaStore array:
# vxdisk settag TagmaStore-USP0_28 t1=v1
# vxdisk settag TagmaStore-USP0_28 t2=v2
# vxdisk settag TagmaStore-USP0_24 t2=v2
# vxdisk settag TagmaStore-USP0_25 t1=v1
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
Creating and administering disk groups
Handling cloned disks with duplicated identifiers
208