Veritas Volume Manager 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)
Creating a Volume on Specific Disks
206 VERITAS Volume Manager Administrator’s Guide
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 -g mydg -o ordered make strmirvol 10g \
layout=stripe-mirror ncol=2 mydg01 mydg02 mydg03 mydg04
This command mirrors column 1 across disks mydg01 and mydg03, and column 2 across
disks mydg02 and mydg04, as illustrated in “Example of Using Ordered Allocation to
Create a Striped-Mirror Volume.”
Example of Using Ordered Allocation to Create a Striped-Mirror Volume
Additionally, you can use the col_switch attribute to specify how to concatenate space
on the disks into columns. For example, the following command creates a mirrored-stripe
volume with 2 columns:
# vxassist -b -g mydg -o ordered make strmir2vol 10g \
layout=mirror-stripe ncol=2 col_switch=3g,2g \
mydg01 mydg02 mydg03 mydg04 mydg05 mydg06 mydg07 mydg08
This command allocates 3 gigabytes from mydg01 and 2 gigabytes from mydg02 to
column 1, and 3 gigabytes from mydg03 and 2 gigabytes from mydg04 to column 2. The
mirrors of these columns are then similarly formed from disks mydg05 through mydg08.
This arrangement is illustrated in “Example of Using Concatenated Disk Space to Create a
Mirrored-Stripe Volume” on page 207.
Mirror
Striped-Mirror Volume
Underlying Mirrored Volumes
Column 1
Column 1
Column 2
Column 2
mydg01-01
mydg03-01
mydg02-01
mydg04-01
Striped Plex