Linux – How to find what filesystem is on a logical volume

filesystemslinuxlvmpartitioning

I've installed Linux Mint 18 using logical volume management. This is my first experience with LVM. The installation process created the LV "root", and I'd like to know what filesystem exists in this LV. How do I discover this?

My normal tools – GParted, Disks, and fdisk – show only "LVM2" or "Linux LVM" as the filesystem instead of ext2/ext3/ext4. I'm sure the answer exists on the internet, but I've spent nearly an hour searching with no results since the signal-to-noise ratio of searches involving "LVM filesystem" is incredibly low.

Best Answer

The blkid command seems to be the best answer. Among its output lines is

/dev/mapper/mint--vg-root: UUID="blah" TYPE="ext4"

showing that the LV "root" has an ext4 filesystem.

Related Question