[pve-devel] [PATCH 06/21] lvm: add volume_snapshot

Alexandre Derumier aderumier at odiso.com
Thu Sep 6 10:27:56 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