Create a Thin Logical Volume

Thin provisioning in LVM enables administrators to create larger logical volume(s) than the available physical disk space.

Creating a thin logical volume involves:
  1. Create a volume group.
  2. Create a thin volume pool from the volume group.
  3. Add thin logical volumes to the thin volume pool.

What Do You Need?

Steps

Using the Cockpit web console, follow these steps to create a thinly provisioned logical volume.

  1. Create a Volume Group. For instructions, see: Create a Volume Group.
  2. Create a thin pool from the volume group created in Step 1. For instructions, see Create a Logical Volume

    Important:

    In the Create a Logical Volume procedure, select Pool for thin logical volume as the Purpose.
  3. Add thin logical volumes to the thin volume pool:
    1. On the Storage page, click the volume group that you created in Step 1.

      Note:

      The volume group name appears in the Devices table.
    2. In the Storage [logical volume name] page, click the thin pool volume that you created in Step 2.

      Note:

      The thin volume appears in the Volumes table.

      The Thin volume page appears.

    3. Click Create thin volume. The Create thin volume dialog appears.
    4. In the Create thin volume dialog, perform the following:
      • Define the size of the volume.
      • Click Create to create a thin volume.

      The thin logical volume is created.

    5. Format and mount the thin logical volume. For instructions, see Format and Mount a Logical Volume.