Linux::LVM2::Snapshot - a class representing a LV snapshot in an Linux LVM2
use Linux::LVM2::Snapshot; my $Mod = Linux::LVM2::Snapshot::->new();
This class models a snapshoted LV from an Linux LVM2 LV.
The name of this snapshot LV
An instance of Log::Tree
The snapshot LV
The snapshoted LV
Our parent, must be an instance of Linux::LVM2
UNDOCUMENTED
Use this much GB for the snapshot
Invoked by Moose on instantiation. Create the snapshot.
Invoked by Moose on destruction. Removes the snapshot.
Return the full path to this LV.
Return the dev-mapper path to this LV.
Try to mount this LV snapshot to the given mount point.
Try to unmount this LV, if mounted, and remove the LV afterwards.
Try to unmount this LV.
Returns true unless the snapshot is 100% full.
Linux::LVM2::Snapshot - Model a Snapshot LV.
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.