vgexport(1M) — Series 800 Only
NAME
vgexport − export a Volume Group and its associated Logical Volumes
SYNOPSIS
/etc/vgexport [-p] [-v] [-m mapfile] volume_group_name
DESCRIPTION
vgexport removes a Volume Group from the system without modifying the Logical Volume information as found on the Physical Volumes.
The volume_group_name is removed from the /etc/lvmtab file, and the associated device files including the volume_group_name directory and group file are removed from the system.
The Volume Group information and data is untouched on the Physical Volume. These disks can be imported to other system by using the vgimport command (see vgimport(1M)).
Options
vgexport recognizes the following options:
-p Preview actions taken but do not update file /etc/lvmtab or remove the devices file. This option is best used in conjunction with the -v option.
-v Print verbose messages including the names of the Physical Volumes associated with this Volume Group.
-mmapfile
Specify the name of the file to which Logical Volume names and numbers are to be written. If this option is not specified, no Logical Volume names are saved. This file can be used as input to vgimport (see vgimport(1M)).
EXTERNAL INFLUENCES
Environment Variables
LANG determines the language in which messages are displayed.
If LANG is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of LANG.
If any internationalization variable contains an invalid setting, vgexport behaves as if all internationalization variables are set to "C". See environ(5).
EXAMPLES
Export the Volume Group /dev/vg01 into mapfile vg01.mapfile:
vgexport -m vg01.mapfile /dev/vg01
SEE ALSO
Hewlett-Packard Company — HP-UX Release 9.10: April 1995