test veritas logo


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.

You can use the vxtune command to manage these tunables. The vxdefault utility will be deprecated in the upcoming releases.

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.

autoreminor
  Turns on or off the automatic reminor functionality. A disk group cannot be imported if the device minor numbers of the disk group or its objects conflict with those of an existing disk group. When autoreminor is on, VxVM automatically assigns new minor numbers to a disk group if VxVM detects a conflict during an import operation. The disk group is then imported. The default value is on.
In some scenarios such as with NFS file systems, assigning new minor numbers may result in issues. In this case, set the tunable parameter to off. When the autoreminor parameter is set to off, attempting to import a disk group with conflicting minor numbers will fail, even when you specify the force (-f) option. You must manually reminor the disk group before you can import the disk group.
autostartvolumes
  Turns on or off the automatic volume recovery. When set to on, VxVM automatically recovers and starts disabled volumes when you import, join, move, or split a disk group. When set to off, turns off this behavior. The default value is on.
fssmartmovethreshold
  The threshold for an individual file system, in percentage full. After this threshold is reached, the SmartMove feature is not used. The default value is 100.
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). The default value is 22:10.
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. The default value is 1.
sharedminorstart
  The starting number in the range used to assign device minor numbers in shared (CVM) disk groups. The default value is 33000.
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.
The default value is all.

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 autoreminor on on 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

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 7.3.1 vxdefault(1M)