[pve-devel] [PATCH 7/8] iscsi : add volume_clone

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


volume_clone is not possible with iscsi

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

diff --git a/PVE/Storage/ISCSIPlugin.pm b/PVE/Storage/ISCSIPlugin.pm
index 173ca1d..7fde316 100644
--- a/PVE/Storage/ISCSIPlugin.pm
+++ b/PVE/Storage/ISCSIPlugin.pm
@@ -383,5 +383,11 @@ sub volume_resize {
     die "volume resize is not possible on iscsi device";
 }
 
+sub volume_clone {
+    my ($class, $scfg, $storeid, $volnamesrc, $volnamedst, $snap, $running) = @_;
+    die "volume cloning is not possible on iscsi device";
+
+}
+
 
 1;
-- 
1.7.10.4




More information about the pve-devel mailing list