[pve-devel] [PATCH 6/7] lvm: add volume_snapshot

Alexandre Derumier aderumier at odiso.com
Wed Sep 5 10:08:55 CEST 2012


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/Storage/LVMPlugin.pm |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/PVE/Storage/LVMPlugin.pm b/PVE/Storage/LVMPlugin.pm
index d49a2b9..f0dcb4d 100644
--- a/PVE/Storage/LVMPlugin.pm
+++ b/PVE/Storage/LVMPlugin.pm
@@ -420,4 +420,10 @@ sub volume_resize {
     return 1;
 }
 
+sub volume_snapshot {
+    my ($class, $scfg, $storeid, $volname, $snap, $running) = @_;
+
+    die "lvm snapshot is not implemented";
+}
+
 1;
-- 
1.7.2.5




More information about the pve-devel mailing list