11.4. Removing a volume group

Make sure that no logical volumes are present in the volume group, see later section for how to do this.

Deactivate the volume group:

# vgchange -a n my_volume_group
        

Now you actually remove the volume group:

# vgremove my_volume_group
        

mirror server hosted at Truenetwork, Russian Federation.