Remove Volume Group
When a logical volume is no longer in use, Cockpit administrators can use the Storage page in the web console to remove an unused volume group.
What Do You Need?
- The Cockpit web console must be installed and accessible.
For details, see these topics: Install and Enable Cockpit and Log in to the Cockpit Web Console.
- The
cockpit-storaged
package must be installed.Note:
If thecockpit-storaged
package isn't installed, see this section Install and Manage Add-on Applications. - Unused volume group without existing logical volumes. For information on how to remove a logical volume, see Remove Volume Group.
- Administrator privileges.
Steps
Using the Cockpit web console, follow these steps to remove an unused volume group.
- In the Storage page, find the table for
Devices and then select the volume group you want to remove.
The LVM2 group [name] page appears.
- In top section of the LVM2 group [name] page, click
Delete.
The Delete Volume Group dialog appears.
Note:
LVM prevents you from deleting the volume group if the volume group is in use or if it contains logical volumes. - In the Delete Volume Group dialog, click
Delete.
LVM removes the unused volume group.