Skip to content

Mount LVM partition

List LVM partitions

bash
sudo lvmdiskscan

Activate LVM partition

bash
sudo vgchange -ay <name>

If the name is already used, you can change it with:

bash
vgdisplay to et the uuid
vgrename <uuid> <new_name>
sudo vgchange -ay <new_name>

Mount LVM partition

bash
mkdir /mnt/<name>
sudo mount /dev/<name> /mnt/<name>

Unmount LVM partition

bash
sudo umount /mnt/<name>

Deactivate LVM partition

bash
sudo vgchange -an <name>