From 0244a7b9c6d37271952ce38c9c97e70f45b8f199 Mon Sep 17 00:00:00 2001 From: Alexandre Derumier Date: Mon, 6 Aug 2012 11:57:29 +0200 Subject: [PATCH] ISCSIPlugin : volume_resize die as we can't resize iscsi devices Signed-off-by: Alexandre Derumier --- PVE/Storage/ISCSIPlugin.pm | 5 +++++ 1 file changed, 5 insertions(+) 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;