Veritas Volume Manager 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)
432 VERITAS Volume Manager Administrator’s Guide
Creating Volumes
Command Description
vxassist [-g diskgroup] maxsize \
layout=layout [attributes]
Displays the maximum size of volume that can
be created. See “Discovering the Maximum Size
of a Volume” on page 202.
Example:
# vxassist -g mydg maxsize \
layout=raid5 nlog=2
vxassist -b [-g diskgroup] make \
volume length [layout=layout ] [attributes]
Creates a volume. See “Creating a Volume on
Any Disk” on page 203 and “Creating a Volume
on Specific Disks” on page 203.
Example:
# vxassist -b -g mydg make myvol \
20g layout=concat mydg01 mydg02
vxassist -b [-g diskgroup] make \
volume length layout=mirror \
[nmirror=N] [attributes]
Creates a mirrored volume. See “Creating a
Mirrored Volume” on page 209.
Example:
# vxassist -b -g mydg make mymvol \
20g layout=mirror nmirror=2
vxassist -b [-g diskgroup] make \
volume length layout=layout \
exclusive=on [attributes]
Creates a volume that may be opened
exclusively by a single node in a cluster. See
“Creating Volumes with Exclusive Open Access
by a Node” on page 377.
Example:
# vxassist -b -g mysdg make \
mysmvol 20g layout=mirror \
exclusive=on
vxassist -b [-g diskgroup] make \
volume length layout={stripe|raid5} \
[stripeunit=W] [ncol=N] [attributes]
Creates a striped or RAID-5 volume. See
“Creating a Striped Volume” on page 214 and
“Creating a RAID-5 Volume” on page 217.
Example:
# vxassist -b -g mydg make mysvol \
20g layout=stripe stripeunit=32
ncol=4