Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > V


HP-UX 11i Version 3: February 2007

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index


vgcfgbackup — create or update LVM volume group configuration backup file


/usr/sbin/vgcfgbackup [-f vg_conf_path] [-u] vg_name


The vgcfgbackup command saves the LVM configuration for a volume group in a default or alternate configuration backup file (see the -f option).

By default, vgcfgbackup 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 .old.

Options and Arguments

vgcfgbackup recognizes the following options and arguments:


The path name of a volume group.

-f vg_conf_path

Save the configuration using an alternate file name specified by vg_conf_path.

If -f 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 /dev/vg00, base_vg_name is vg00.


Update the configuration backup file with the latest LVM configuration. Only those physical volumes added since the configuration backup file was last modified need to be online.

If -u is omitted, all physical volumes for vg_name must be online.


vgcfgbackup exits with one of the following values:


Successful completion.


Failure. Errors occurred when information from the volume group was being accessed.


Environment Variables

LANG determines the language in which messages are displayed.

If LANG 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)).


Back up LVM configuration information for volume group /dev/vg00 in the default backup file /etc/lvmconf/vg00.conf:

vgcfgbackup /dev/vg00

Update LVM configuration information corresponding to volume group /dev/vg00 in the default backup file /etc/lvmconf/vg00.conf:

vgcfgbackup -u /dev/vg00

Back up LVM configuration information for volume group /dev/vg00 in the alternate configuration backup file /tmp/vg00.backup:

vgcfgbackup -f /tmp/vg00.backup vg00


It is recommended that any alternate configuration backup file be created 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.


vgcfgbackup was developed by HP.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.