From 3bac137c9f8dea24a86bbdef9a5ec73275a9cafb Mon Sep 17 00:00:00 2001 From: Alexandre Derumier Date: Mon, 6 Aug 2012 11:57:30 +0200 Subject: [PATCH] ISCSIDirect : volume_resize die as we can't resize scsi device plugins Signed-off-by: Alexandre Derumier --- PVE/Storage/ISCSIDirectPlugin.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PVE/Storage/ISCSIDirectPlugin.pm b/PVE/Storage/ISCSIDirectPlugin.pm index 322de52..82c6879 100644 --- a/PVE/Storage/ISCSIDirectPlugin.pm +++ b/PVE/Storage/ISCSIDirectPlugin.pm @@ -188,4 +188,9 @@ sub volume_size_info { return $info->{size}; } +sub volume_resize { + my ($class, $scfg, $storeid, $volname, $size, $running) = @_; + die "volume resize is not possible on iscsi device"; +} + 1;