VERITAS Volume Manager 4.1 Administrator's Guide

Creating Volumes
Creating a Volume on Specific Disks
Chapter 7 237
# vxassist -b make volmega 20g diskgroup=bigone disk10
disk11
NOTE 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 disk07 and disk08 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 !disk08
See the vxassist(1M) manual page for more information about using
storage attributes. It is also possible to control how volumes are laid out
on the specified storage as described in the next section “Specifying
Ordered Allocation of Storage to Volumes” on page 237
Specifying Ordered Allocation of Storage to Volumes
If you specify the -o ordered option to vxassist when creating a volume,
any storage that you also specify is allocated in the following order:
Step 1. Concatenate disks.
Step 2. Form columns.
Step 3. Form mirrors.
For example, the following command creates a mirrored-stripe volume
with 3 columns and 2 mirrors on 6 disks:
# vxassist -b -o ordered make mirstrvol 10g
layout=mirror-stripe ncol=3 disk01 disk02 disk03 disk04
disk05 disk06