Content-type: text/html
/usr/sbin/vgremove VolumeGroupName ...
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.
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.
Commands: lvremove(8), vgchange(8), vgreduce(8) delim off