Skip to content
Summarise the LVM volume groups, physical and logical volumes in a linux system.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



Print a summary of the LVM volume groups, physical volumes and logical volumes.

See the following link for the inspiration: <>

Copyright 2009 Peter Scully <>

Licence: Creative Commons Attribution-Share Alike <>

Further Work:

I'm sure there are plenty of edge and corner cases not handled.

Needs to test that lvm is installed.

Doesn't handle striped LVs (created with --stripe).

Some error handling would be nice.  e.g. LVs that are mounted but do not appear in /etc/fstab.

Command line arguements.  e.g. -v vgname to only show that VG.

Refactor it; some things should be made into subroutines.

Make it more efficient.
You can’t perform that action at this time.