--- PVE/Storage.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PVE/Storage.pm b/PVE/Storage.pm index c27e9cf..e4f434a 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -200,6 +200,7 @@ sub volume_snapshot_delete { if ($storeid) { my $scfg = storage_config($cfg, $storeid); my $plugin = PVE::Storage::Plugin->lookup($scfg->{type}); + $plugin->deactivate_volume($storeid, $scfg, $volname, $snap, {}); return $plugin->volume_snapshot_delete($scfg, $storeid, $volname, $snap, $running); } elsif ($volid =~ m|^(/.+)$| && -e $volid) { die "snapshot delete file/device '$volid' is not possible\n"; -- 2.1.4
_______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel