The default values that the vxassist
command uses may be specified in the file /etc/default/vxassist
. The defaults listed in this file take effect if you do not override them on the command line, or in an alternate defaults file that you specify using the -d
option. A default value specified on the command line always takes precedence. vxassist
also has a set of built-in defaults that it uses if it cannot find a value defined elsewhere.
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.
See the vxassist
(1M) manual page.
To display the default attributes held in the file /etc/default/vxassist
, use the following form of the vxassist
command:
The following is a sample vxassist
defaults file:
# 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
# allow only root access to a volume
# when mirroring, create two mirrors
# for regular striping, by default create between 2 and 8 stripe
# for RAID-5, by default create between 3 and 8 stripe columns
# by default, create 1 log copy for both mirroring and RAID-5 volumes
# by default, limit mirroring log lengths to 32Kbytes
# use 64K as the default stripe unit size for regular volumes
# use 16K as the default stripe unit size for RAID-5 volumes