Content-type: text/html Man page of vgremove

vgremove

Section: Maintenance Commands (8)
Index Return to Main Contents
 

NAME

vgremove - Removes the definition of one or more volume groups from the system  

SYNOPSIS

/usr/sbin/vgremove VolumeGroupName ...  

DESCRIPTION

This command is no longer supported on Digital UNIX systems. Features formerly provided by the Logical Volume Manager (LVM) are now provided by the Logical Storage Manager (LSM). Existing LVM volumes must be migrated to LSM, using an encapsulation process. For information about moving LVM volumes to LSM, see the vollvmencap(8) reference page and the manual Logical Storage Manager. The vgremove command removes from the system the last physical volume of the volume group and the definition of the volume group(s) specified with the VolumeGroupName parameter. Since all system knowledge of the volume group and its contents are removed, you can no longer access that volume group.

All logical volumes residing on the last physical volume must be removed by executing the lvremove command before executing the vgremove command.

The vgremove command is the (effective) inverse of the vgcreate command called with one physical volume.

Before removing a volume group, you must do two things: Remove all of the logical volumes belonging to the group with the lvremove command. Remove all but one of the physical volumes belonging to the volume group with the vgreduce command.  

EXAMPLES

To remove volume group vg02 from the system, enter: vgremove /dev/vg02 The definition of vg02 is removed from the system and the volume group cannot be accessed.  

FILES

Specifies the command path  

RELATED INFORMATION

Commands: lvremove(8), vgchange(8), vgreduce(8) delim off


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
FILES
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:40:36 GMT, October 02, 2010