Linux LVM, RAID, and Encryption Cheat Sheet/Create a logical volume by size

Allocate a fixed-size LV from a volume group.

Section: LVM Basics

Create a logical volume by size

bash
bash
sudo lvcreate -L 100G -n lvdata vgdata
Explanation

Allocate a fixed-size LV from a volume group.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing LVM Basics
Create a logical volume with remaining free space
Use all remaining free extents in the VG.
OpenIn sheetbashsame section
Create a filesystem on an LV
Format a new logical volume for use.
OpenIn sheetbashsame section
Mount a logical volume
Mount an LV like any other block device.
OpenIn sheetbashsame section
Initialize a physical volume
Prepare a partition or whole device for LVM use.
OpenIn sheetbashsame section
List physical volumes
Compact overview of LVM physical volumes.
OpenIn sheetbashsame section
Display physical volume details
Verbose physical volume information including UUID and extents.
OpenIn sheetbashsame section