Linux::LVM2 - a Linux LVM2 wrapper.
use Linux::LVM2; my $LVM = Linux::LVM2::->new();
This class wraps the Linux LVM2 subsystem into handy perl classes.
Contains all VGs present at the last update.
When true, be more verbose.
An instance of Log::Tree.
An instance of Sys::Run.
An instance of Sys::FS.
Detect all available VGs w/ containing PVs and contained LVs.
Returns true if the given vg/lv is a known LV.
Returns true if the given vg is a known VG.
Translate the given /dev/mapper/... path to a LV object.
Translate the given fs path to a LV object.
Update the internal LVM data-structures.
Linux::LVM2 - Linux LVM2 wrapper.
Dominik Schulz <dominik.schulz@gauner.org>
This software is copyright (c) 2012 by Dominik Schulz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Linux::LVM2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Linux::LVM2
CPAN shell
perl -MCPAN -e shell install Linux::LVM2
For more information on module installation, please visit the detailed CPAN module installation guide.