---
 src/PVE/API2/LXC.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 48fea02..5164da7 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -1301,6 +1301,8 @@ __PACKAGE__->register_method({
 
            $rpcenv->check($authuser, "/storage/$storeid", 
['Datastore.AllocateSpace']);
 
+           PVE::Storage::activate_volumes($storage_cfg, [$volid]);
+
            my $size = PVE::Storage::volume_size_info($storage_cfg, $volid, 5);
            $newsize += $size if $ext;
            $newsize = int($newsize);
-- 
2.1.4


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to