vxdefault (1M)


vxdefault - configure defaults for Storage Foundation commands and tunables


vxdefault [-q] check [keyword]

vxdefault [-q] list [keyword|command]

vxdefault [-q] set keyword value


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.

  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.
  The threshold for an individual file system, in percentage full. After this threshold is reached, the SmartMove feature is not used.
  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).
  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.
  The starting number in the range used to assign device minor numbers in shared (CVM) disk groups.
  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.
  Turns SmartMove on or off for VVR operations.

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


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.


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


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


  Persistent file used to store the defaults.



VxVM 5.1 vxdefault (1M)