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:
- Create a volume group.
- Create a thin volume pool from the volume group.
- Add thin logical volumes to the thin volume pool.
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. - Administrator privileges.
Steps
Using the Cockpit web console, follow these steps to create a thinly provisioned logical volume.
- Create a Volume Group. For instructions, see: Create a Volume Group.
- 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. - Add thin logical volumes to the thin volume pool:
- On the Storage page, click the volume group that you created
in Step 1.
Note:
The volume group name appears in the Devices table. - 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.
- Click Create thin volume. The Create thin volume dialog appears.
- 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.
- Format and mount the thin logical volume. For instructions, see Format and Mount a Logical Volume.
- On the Storage page, click the volume group that you created
in Step 1.