Skip to content

Summarise the LVM volume groups, physical and logical volumes in a linux system.

Notifications You must be signed in to change notification settings

PGScully/lvmsummary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

lvmsummary
==========

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

See the following link for the inspiration: <http://serverfault.com/questions/28592/getting-a-textual-overview-of-a-systems-lvm-configuration>

Copyright 2009 Peter Scully <[email protected]>

Licence: Creative Commons Attribution-Share Alike <http://creativecommons.org/licenses/by-sa/3.0/>


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.

About

Summarise the LVM volume groups, physical and logical volumes in a linux system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages