pvinfo

About

pvinfo is a small perl tool to display the physical allocation layout of lvm physical volumes known to the system.

screenshot of pvinfo output
screenshot of pvinfo output

Dependencies

pvinfo needs perl and the lvm utilities installed, which you'll need to get the lvm running in the first place anyway.

Download

latest version: pvinfo

ChangeLog

Usage

pvinfo doesn't have any options.

It needs root rights to execute the lvm tools pvdisplay and lvdisplay, whose output it parses. I recommend calling pvinfo with sudo from a normal user's account, as shown in the screenshot above.

Copying

pvinfo is released under the the GNU General Public Version 2 (not above). The full legalese is:

Copyright 2005, 2008, 2009 Uli Martens <uli@youam.net>
          2009 Peter Palfrader <peter@palfrader.org>

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Author

pvinfo was written by Uli Martens and Peter Palfrader.