Because after this patch series plugin's volume_resize() should return new actual volume size or zero for some block storages. Returning just 1 will break online resize.
Signed-off-by: Dmitry Petuhov <mityapetu...@gmail.com> --- PVE/Storage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage.pm b/PVE/Storage.pm index 683c920..e2b2b5c 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -34,7 +34,7 @@ use PVE::Storage::ZFSPlugin; use PVE::Storage::DRBDPlugin; # Storage API version. Icrement it on changes in storage API interface. -use constant APIVER => 1; +use constant APIVER => 2; # load standard plugins PVE::Storage::DirPlugin->register(); -- 2.1.4 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel