![]() |
![]() |
![]() |
![]() |
![]() |
Volume tags are used to implement the Dynamic Storage Tiering (DST) feature of the Storage Foundation software.
See the Veritas File System Administrator's Guide.
You can use the tag
attribute with the vxassist
make
command to set a named tag and optional tag value on a volume, for example:
# vxassist -b -g mydg make volmir 5g layout=mirror tag=mirvol=5g
To list the tags that are associated with a volume, use this command:
# vxassist [-g
diskgroup
] listtag
volume
To list the volumes that have a specified tag name, use this command:
# vxassist [-g
diskgroup
] list tag=
tagname
volume
Tag names and tag values are case-sensitive character strings of up to 256 characters. Tag names can consist of letters (A through Z and a through z), numbers (0 through 9), dashes (-), underscores (_) or periods (.) from the ASCII character set. A tag name must start with either a letter or an underscore. Tag values can consist of any character from the ASCII character set with a decimal value from 32 through 127. If a tag value includes any spaces, use the vxassist
settag
command to set the tag on the newly created volume.
Dotted tag hierarchies are understood by the list
operation. For example, the listing for tag=a.b
includes all volumes that have tag names that start with a.b
.
The tag names site
, udid
and vdid
are reserved and should not be used. To avoid possible clashes with future product features, it is recommended that tag names do not start with any of the following strings: asl
, be
, isp
, nbu
, sf
, symc
or vx
.