Prepare a partition or whole device for LVM use.
Section: LVM Basics
Initialize a physical volume
bash
bash
sudo pvcreate /dev/sdb1Explanation
Prepare a partition or whole device for LVM use.
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
Display physical volume details
Verbose physical volume information including UUID and extents.
Display volume group details
Verbose VG information including free space and metadata.
Create a logical volume by size
Allocate a fixed-size LV from a volume group.