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

# vxassist -b -g mydg make volspec 5g \!ctlr:c2
This example includes only disks on controller c1 except for target t5:
# vxassist -b -g mydg make volspec 5g ctlr:c1 \!target:c1t5
If you want a volume to be created using only disks from a specific disk group,
use the -g option to vxassist, for example:
# vxassist -g bigone -b make volmega 20g bigone10 bigone11
or alternatively, use the diskgroup attribute:
# vxassist -b make volmega 20g diskgroup=bigone bigone10 \
bigone11
Any storage attributes that you specify for use must belong to the disk group.
Otherwise, vxassist will not use them to create a volume.
You can also use storage attributes to control how vxassist uses available storage,
for example, when calculating the maximum size of a volume, when growing a
volume or when removing mirrors or logs from a volume. The following example
excludes disks dgrp07 and dgrp08 when calculating the maximum size of RAID-5
volume that vxassist can create using the disks in the disk group dg:
# vxassist -b -g dgrp maxsize layout=raid5 nlog=2 \!dgrp07 \!dgrp08
It is also possible to control how volumes are laid out on the specified storage.
See Specifying ordered allocation of storage to volumes on page 308.
See the vxassist(1M) manual page.
vxassist also lets you select disks based on disk tags. The following command
only includes disks that have a tier1 disktag.
# vxassist -g dg3 make vol3 1g disktag:tier1
Creating a volume on SSD devices
This section explains how to create a volume on Solid State Disk (SSD) device.
You must upgrade the disk group to version 150 or higher for SSD support. To
upgrade the disk group, use the following command:
# vxdg upgrade diskgroup
where diskgroup is the name of the disk group to which the disk belongs.
Creating volumes
Creating a volume on specific disks
306