VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)
Creating a Striped Volume
174 VERITAS Volume Manager Administrator’s Guide
This creates a striped volume with the default stripe unit size (64 kilobytes) and the
default number of stripes (2).
You can specify the disks on which the volumes are to be created by including the disk
names onthe commandline. For example, to create a30-gigabyte striped volume on three
specific disks, disk03, disk04, and disk05, use the following command:
# vxassist -b make stripevol 30g layout=stripe disk03 disk04 disk05
To change the default number of columns from 2, or the stripe width from 64 kilobytes,
use the ncolumn and stripeunit modifiers with vxassist. For example, the
following commandcreates a stripedvolume with 5 columns anda 32-kilobyte stripe size:
# vxassist -b make stripevol 30g layout=stripe stripeunit=32k \
ncol=5
Creating a Mirrored-Stripe Volume
A mirrored-stripe volume mirrors several striped data plexes.
Note A mirrored-stripe volume requires spaceto be available onat least as manydisks in
thedisk groupas the numberofmirrorsmultiplied by the numberofcolumns in the
volume.
To create a striped-mirror volume, use the following command:
# vxassist [-b] [-g diskgroup] make volume length
layout=mirror-stripe [nmirror=number_mirrors] \
[ncol=number_columns] [stripewidth=size]
Note Specify the -b option if you want to make the volume immediately available for
use. See “Initializing and Starting a Volume” on page 181 for details.
Alternatively, first create a striped volume, and then mirror it as described in “Adding a
Mirror to a Volume” on page 191. In this case, the additional data plexes may be either
striped or concatenated.