VERITAS Volume Manager 4.1 Administrator's Guide
Creating Volumes
Using vxassist
Chapter 7232
NOTE You must create the /etc/default directory and the vxassist default file if
these do not already exist on your system.
The format of entries in a defaults file is a list of attribute-value pairs
separated by new lines. These attribute-value pairs are the same as
those specified as options on the vxassist command line. Refer to the
vxassist(1M) manual page for details.
To display the default attributes held in the file /etc/default/vxassist, use
the following form of the vxassist command:
# vxassist help showattrs
The following is a sample vxassist defaults file:
# By default:
# create unmirrored, unstriped volumes
# allow allocations to span drives
# with RAID-5 create a log, with mirroring don’t create a log
# align allocations on cylinder boundaries
layout=nomirror,nostripe,span,nocontig,raid5log,noregionlog, diskalign
# use the fsgen usage type, except when creating RAID-5 volumes
usetype=fsgen
# allow only root access to a volume
mode=u=rw,g=,o=
user=root
group=root
# when mirroring, create two mirrors
nmirror=2
# for regular striping, by default create between 2 and 8 stripe
# columns
max_nstripe=8
min_nstripe=2
# for RAID-5, by default create between 3 and 8 stripe columns
max_nraid5stripe=8
min_nraid5stripe=3
# by default, create 1 log copy for both mirroring and RAID-5 volumes
nregionlog=1