diff --git a/qm b/qm index f77533c9..25f84ea0 100755 --- a/qm +++ b/qm @@ -364,6 +364,7 @@ __PACKAGE__->register_method ({ foreach my $item (@{$info->{$storeid}}) { next if !($item->{volid} && $item->{vmid}); next if $item->{vmid} ne $vmid; + next if $item->{volid} =~ m/vm-$vmid-state-/; next if $used->{$item->{volid}}; $changes = 1; PVE::QemuServer::add_unused_volume($conf, $item->{volid});