Remove Physical Drive From Volume Group

When a physical disk is no longer in use, Cockpit administrators can use the Storage page in the web console to remove the disk volume from the volume group.

What Do You Need?

Steps

Using the Cockpit web console, follow these steps to rename a volume group.

  1. In the Storage page, find the Devices table and select the volume group that contains an unused physical drive volume.

    The LVM2 group [name] page appears.

  2. In the LVM2 group [name] page, navigate to the Physical volumes table.
  3. In the Physical volumes table, click the minus [-] sign icon next to the unused physical disk volume.
    One of the following occurs:
    • If LVM detects it's the last disk volume in the volume group, a message appears indicating that it's the last disk volume in the volume group and it can't be removed.

      -OR-

    • If LVM detects the disk volume is in use, a message appears indicating that the disk volume is in use, and it can't be removed.

      -OR-

    • The Remove Physical Volume dialog appears.
  4. In the Remove Physical Volume dialog, click Remove.

    LVM removes the unused disk volume and shrinks the storage capacity of the volume group without loss of data.