[pve-devel] [PATCH 6/8] lvm : add volume_clone

Alexandre Derumier aderumier at odiso.com
Mon Nov 5 14:46:05 CET 2012


lvm cloning is not possible

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

diff --git a/PVE/Storage/LVMPlugin.pm b/PVE/Storage/LVMPlugin.pm
index 9199db1..f27c570 100644
--- a/PVE/Storage/LVMPlugin.pm
+++ b/PVE/Storage/LVMPlugin.pm
@@ -438,4 +438,11 @@ sub volume_snapshot_delete {
     die "lvm snapshot delete is not implemented";
 }
 
+sub volume_clone {
+    my ($class, $scfg, $storeid, $volnamesrc, $volnamedst, $snap, $running) = @_;
+
+    die "lvm cloning  is not implemented";
+
+}
+
 1;
-- 
1.7.10.4




More information about the pve-devel mailing list