VERITAS Volume Manager 3.1 Reference Guide

Chapter 1 17
Volume Manager Commands
vxassist - creating and changing volumes
System-wide defaults file—The system-wide defaults file contains
default values that you can alter. These values are used for tunables
that are not specified on the command line or in an alternate defaults
file.
Alternate defaults file—A non-standard defaults file, specified with
the command vxassist -d
alt_defaults_file
.
Command line—The tunable values specified on the command line
override any values specified internally or in defaults files.
Defaults File
The default behavior of vxassist is controlled by the tunables specified
in the /etc/default/vxassist file. The format of the 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).
Here 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,noregio
nlog,
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