[pve-devel] [PATCH 4/8] ISCSIPlugin : volume_resize

Alexandre Derumier aderumier at odiso.com
Mon Aug 6 11:57:29 CEST 2012


die as we can't resize iscsi devices

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

diff --git a/PVE/Storage/ISCSIPlugin.pm b/PVE/Storage/ISCSIPlugin.pm
index f3a402c..173ca1d 100644
--- a/PVE/Storage/ISCSIPlugin.pm
+++ b/PVE/Storage/ISCSIPlugin.pm
@@ -378,5 +378,10 @@ sub check_connection {
     return iscsi_test_portal($portal);
 }
 
+sub volume_resize {
+    my ($class, $scfg, $storeid, $volname, $size, $running) = @_;
+    die "volume resize is not possible on iscsi device";
+}
+
 
 1;
-- 
1.7.2.5



More information about the pve-devel mailing list