vgcfgbackup(1M)vgcfgbackup(1M)NAMEvgcfgbackup - create or update LVM volume group configuration backup
file
SYNOPSIS
vg_conf_path] vg_name
DESCRIPTION
The command saves the LVM configuration for a volume group in a default
or alternate configuration backup file (see the option).
By default, runs automatically each time an LVM command changes the LVM
configuration. In this case, it always uses the default configuration
backup file. An existing default configuration backup file is renamed
with an extension of
Options and Arguments
recognizes the following options and arguments:
vg_name The path name of a volume group.
Save the configuration using an alternate file name specified by
vg_conf_path.
If is omitted, the default file name is in
the form:
base_vg_name is the base name of vg_name.
For example, if vg_name is specified as
base_vg_name is
Update the configuration backup file with the latest LVM config‐
uration.
Only those physical volumes added since the
configuration backup file was last modified
need to be online.
If is omitted, all physical volumes for
vg_name must be online.
RETURN VALUE
exits with one of the following values:
Successful completion.
Failure.
Errors occurred when information from the volume group
was being accessed.
EXTERNAL INFLUENCES
Environment Variables
determines the language in which messages are displayed.
If is not specified or is null, it defaults to "C" (see lang(5)).
If any internationalization variable contains an invalid setting, all
internationalization variables default to "C" (see environ(5)).
EXAMPLES
Back up LVM configuration information for volume group in the default
backup file
Update LVM configuration information corresponding to volume group in
the default backup file
Back up LVM configuration information for volume group in the alternate
configuration backup file
WARNINGS
It is recommended that any alternate configuration backup file be cre‐
ated in the root file system (as is the case with the default path
name). This facilitates easy volume group recovery during maintenance
mode, such as after a system crash.
AUTHOR
was developed by HP.
SEE ALSOvgcfgrestore(1M).
vgcfgbackup(1M)