How do I check whether I am using LVM?
You should see it in Gparted. You can also just check your fstab file:
cat /etc/fstab
Watch the line with your root filesystem. Three possibilities here:
- If the line starts with
UUID=xyz
, this means it's a physical partition. - If the line starst with
/dev/sdaX
, it also means it's a physical partition. - The indicator for LVM would be something with
/dev/mapper/xyz
.
Just wanted to leave this here for people searching in the future.
You can get LV information by using the lvdisplay
command. If you have any logical volumes they will appear as such as well as additional information about that volume such as the path, logical volume name, volume group name, size, etc.
If you have not setup a an LVM then lvdisplay won't be installed or it won't be able to find lvmetad.socket