Linux::LVM2::Utils - Linux LVM2 helper
use Linux::LVM2::Utils
This class provides some helper methods that aid in handling of Linux LVM2 devices.
Searches for the major number of the devicemapper device
This method tries to find a device mapper name based on the dm minor number.
It will return either the resolved device mapper name or the original device.
This method tries to translate an dev-mapper device name to its LVM counterpart, e.g. /dev/mapper/vg-lv -> /dev/vg/lv
Translates LVM names to their ugly devicemapper names e.g. /dev/VGfoo/LVbar -> /dev/mapper/VGfoo-LVbar
Linux::LVM2::Utils - LVM2 helper methods.
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.