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

The following is an example of listtag output:
# vxassist -g dgl listtag vol
TY NAME DISKGROUP TAG
=================================================
v vol dg1 Symantec
To list the volumes that have a specified tag name, use this command:
# vxassist [-g diskgroup] list tag=tagname
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.
See Setting tags on volumes.
Creating a volume using vxmake
As an alternative to using vxassist, you can create a volume using the vxmake
command to arrange existing subdisks into plexes, and then to form these plexes
into a volume.
See Creating subdisks on page 250.
The example given in this section is to create a RAID-5 volume using vxmake.
Creating a RAID-5 plex for a RAID-5 volume is similar to creating striped plexes,
except that the layout attribute is set to raid5. Subdisks can be implicitly
associated in the same way as with striped plexes. For example, to create a
four-column RAID-5 plex with a stripe unit size of 32 sectors, use the following
command:
# vxmake -g mydg plex raidplex layout=raid5 stwidth=32 \
sd=mydg00-01,mydg01-00,mydg02-00,mydg03-00
Creating volumes
Creating a volume using vxmake
300