TrumanWong

vgremove

Used by users to delete LVM volume groups

Supplementary instructions

vgremove command is used by users to delete LVM volume groups. When a logical volume has been created on the volume group to be deleted, the vgremove command needs to confirm the deletion to prevent accidental deletion of data.

grammar

vgremove(options)(parameters)

Options

-f: Force deletion.

Parameters

Volume group: Specify the name of the volume group to delete.

Example

Use the vgremove command to delete the LVM volume group "vg1000". Enter the following command at the command line:

[root@localhost ~]# vgremove vg1000 #Delete volume group "vg1000"
Volume group "vg1000" successfully removed