Product SiteDocumentation Site Creating a Logical Volume Managament (LVM) Layout

Logical Volume Management (LVM) presents a simple logical view of underlying physical storage space, such as hard drives or LUNs. Partitions on physical storage are represented as physical volumes that can be grouped together into volume groups. Each volume group can be divided into multiple logical volumes, each of which is analogous to a standard disk partition. Therefore, LVM logical volumes function as partitions which can span multiple physical disks.
See Appendix C, Understanding LVM for additional information about the concepts behind Logical Volume Management.


Some partition types - notably the /boot directory and the BIOS Boot and EFI partitions - can not be placed on logical volumes. Use standard physical volumes for them. See Section, “Recommended Partitioning Scheme” for more information.
Create LVM Logical Volume
The Manual Partitioning screen, showing available options for a selected LVM logical volume.
Figure 5.20. Create LVM Logical Volume

Follow the procedure below to create LVM logical volumes and volume groups.
Procedure 5.5. Creating LVM Logical Volumes and Groups
  1. Click the + button at the bottom of the list showing existing mount points. A new dialog window will open.
  2. In the new dialog window, specify a mount point for which you want to create a separate logical volume - for example, /. Optionally, specify a size for the volume using standard units such as MB or GB (for example, 50GB). Then, click Add mount point to add the volume and return to the main partitioning screen.


    When creating a mount point for swap on LVM, specify the mount point as swap.
  3. The mount point has now been created using the default settings, which means it has been created as an LVM logical volume, and a volume group has been created to contain it. Select the newly created mount point in the left pane to configure it further. If you want to use thin provisioning for this volume, change the Device Type option to LVM Thin Provisioning.
  4. In the Volume Group menu, you can see that the volume has been assigned to an automatically created volume group, which is named after the Fedora variant you are installing (for example, fedora-server. Click the Modify button under the drop-down menu to access the volume group settings.
  5. In the Configure Volume Group dialog, you can change the volume group's name, its RAID level (see Section, “Device, File System and RAID Types” for information about available RAID types), and you can also specify which physical devices (disks) this volume group should reside on. You can select one or more disks which will be used to hold this volume group by holding down Ctrl and clicking each disk in the list.


    If you select a redundant RAID type (such as RAID1 (Redundancy)), the volume group will take up twice its actual size on your disks. A 5 GB volume group with RAID1 will take up 10 GB of space.
    You can also make sure that the volume group is encrypted by selecting the Encrypt option; this will enable LUKS encryption for the entire volume group. See the Fedora Security Guide, available at, for information about LUKS disk encryption.
    Additionally, you can set a fixed size for the volume group by selecting the Fixed option from the Size policy menu and entering a size for the volume group.
    After you finish configuring the volume group settings, click Save to return to the main Manual Partitioning screen.


    The configuration dialog does not allow you to specify the size of the volume group's physical extents. The size will always be set to the default value of 4 MiB. If you want to create a volume group with different physical extents, create it manually by switching to an interactive shell and using the vgcreate command, or use a Kickstart file with the volgroup --pesize=size command.
  6. If you need to create more than one volume group, open the Volume Group drop-down menu and select the Create a new volume group option. A new dialog window will open, identical to the one described in the previous step. Again, select a name, storage devices, encryption settings, RAID level and size policy for the new group, and click Save. The new volume group will then become available in the Volume Group drop-down menu; you can then go through your existing mount points and change this setting to assign them to a different volume group.
  7. Configure other settings specific to the logical volume - its Mount Point, Desired Capacity, File System, and Name. Press Update Settings to apply any changes to the configuration.
Repeat this procedure for any additional logical volumes you want to create. Note that when creating additional LVM logical volumes, a new volume group is not automatically created each time; instead, any additional volumes are assigned to an existing group.
For each mount point you create, review its settings and make sure that it is assigned to the correct group, that it has sufficient capacity, and that it has a descriptive name so you can identify the volume later if you need to.