freenas-proxmox/perl5/PVE/Storage/Custom
Kevin Adams 5e2e5a8cbe fix: allow free_image on detached disks while VM is running (#258)
Removed _vm_is_running() check from free_image. When a disk is detached
from a running VM (unused0), QEMU immediately closes its libiscsi
connection — there is no active session to block the delete. The
force=true flag on the TrueNAS extent DELETE is the correct guard for
any residual session. The VM-running check was overly broad and blocked
legitimate deletes of already-detached disks.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 16:28:32 -04:00
..
TrueNAS.pm fix: allow free_image on detached disks while VM is running (#258) 2026-05-24 16:28:32 -04:00