vxdefault (1M)

NAME

vxdefault - configure defaults for Storage Foundation commands and tunables

SYNOPSIS

vxdefault [-q] check [keyword]

vxdefault [-q] list [keyword|command]

vxdefault [-q] set keyword value

DESCRIPTION

The vxdefault utility manages the default values for various Storage Foundation commands and tunables. Use the vxdefault utility to display, set, or change the default values.

The default values are stored in the file /etc/default/vxsf. Each default entry is in the format keyword=value.

The following list shows the default values that you can manage with the vxdefault utility.

autostartvolumes
  Turns on or off the automatic volume recovery. When set to on, VxVM automatically recovers and starts disables volumes when you import, join, move, or split a disk group. When set to off, turns off this behavior.
fssmartmovethreshold
  The threshold for an individual file system, in percentage full. After this threshold is reached, the SmartMove feature is not used.
reclaim_on_delete_start_time
  The time of day when the reclamation begins on a thin LUN, after a volume using that LUN is deleted. Specified in 24 hour time (HH:MM).
reclaim_on_delete_wait_period
  The number of days to wait before starting to reclaim space on a thin LUN, after a volume using that LUN is deleted. Specified as an integer from -1 to 366, where -1 specifies immediately and 366 specifies never.
sharedminorstart
  The starting number in the range used to assign device minor numbers in shared (CVM) disk groups.
usefssmartmove
  The state of the SmartMove feature. Valid values are:
thinonly - use for Thin disks only.
all - use for all disks.
none - turn off the SmartMove feature.
usesmartmovewithvvr
  Turns SmartMove on or off for VVR operations.

The behavior of the vxdefault utility depends upon the keyword specified as the first operand.

KEYWORDS

check Validates all of the defaults and values specified in the file /etc/default/vxsf. If you specify a keyword in the command line, then the check command verifies the values only for that keyword.
list Lists each of the supported default keywords, the default value, and the current value. If you specify a keyword in the command line, then the list command displays information only for that keyword.
set Sets the specified default to the specified value. The set command fails if the value is not a valid value for the specified default.

OPTIONS

-q Omit printing the header for the output fields. Use this option to produce output that is more machine-readable for scripts or programs.

EXAMPLES

To display all defaults:

vxdefault list


KEYWORD CURRENT-VALUE DEFAULT-VALUE autostartvolumes on on fssmartmovethreshold 100 100 reclaim_on_delete_start_time 20:00 22:10 reclaim_on_delete_wait_period 2 1 sharedminorstart 33000 33000 usefssmartmove none all usesmartmovewithvvr on on

To set the default reclaim_on_delete_start_time to 8 p.m.:

vxdefault set reclaim_on_delete_start_time 20:00

FILES

/etc/default/vxsf
  Persistent file used to store the defaults.

SEE ALSO

vxtune(1M)


VxVM 5.1 vxdefault (1M)