VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)

Chapter 7, Creating Volumes
Creating a Volume on Specific Disks
167
See the vxassist(1M) manual page for more information about using storage attributes.
It is alsopossible tocontrolhow volumesarelaid out onthe specifiedstorage as described
in the next section “Specifying Ordered Allocation of Storage to Volumes.”
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:
1. Concatenate disks.
2. Form columns.
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
This command places columns 1, 2 and 3 of the first mirror on disk01, disk02 and
disk03 respectively, and columns 1, 2 and 3 of the second mirror on disk04, disk05
and disk06 respectively. This arrangement is illustrated in “Example of Using Ordered
Allocation to Create a Mirrored-Stripe Volume.”
Example of Using Ordered Allocation to Create a Mirrored-Stripe Volume
For layered volumes, vxassist applies the same rules to allocate storage as for
non-layered volumes. For example, the following command creates a striped-mirror
volume with 2 columns:
# vxassist -b -o ordered make strmirvol 10g layout=stripe-mirror \
ncol=2 disk01 disk02 disk03 disk04
Striped Plex
Striped Plex
Mirror
Mirrored-Stripe
Volume
Column 1 Column 2 Column 3
Column 1 Column 2 Column 3
disk01-01 disk02-01 disk03-01
disk04-01 disk05-01 disk06-01