vgremove(1M) — Series 800 Only
NAME
vgremove − remove definition of one or more volume groups from the system
SYNOPSIS
/etc/vgremove volume_group_name ...
DESCRIPTION
vgremove removes from the system the last physical volume of the volume group and the definition of the volume group or groups specified by volume_group_name. Since all system knowledge of the volume group and its contents are removed, that volume group can no longer be accessed.
All logical volumes residing on the last physical volume must be removed by executing lvremove before executing vgremove. (see lvremove(1M)).
vgremove is equivalent to the inverse of executing vgcreate for one physical volume (see vgcreate(1M)).
Before removing a volume group, two steps are necessary:
1. Remove all but one of the logical volumes belonging to the group by using lvremove command (see lvremove(1M)).
2. Remove the physical volumes belonging to the volume group by using vgreduce (see vgreduce(1M)).
If there is any phyical volume group created under volume_group_name, the physical volume group information is also removed from file /etc/lvmpvg.
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, vgremove behaves as if all internationalization variables are set to "C". See environ(5).
EXAMPLES
Remove volume group /dev/vg02 from the system:
vgremove /dev/vg02
SEE ALSO
lvremove(1M), vgreduce(1M), vgchange(1M).
Hewlett-Packard Company — HP-UX Release 9.10: April 1995