Removal of VM results in loss of hard disk on separate Node, FYI
Just starting using Proxmox and noticed the following WHEN USING SHARED STORAGE:
Create vm-id=400 on host-A with virt hard, this creates hard disk file <..smb..>/../images/400/vm-400-disk-0.raw
Create vm-id=400 on host-B with virt hard, this creates hard disk file <..smb..>/../images/400/vm-400-disk-1.raw
Remove vm-id=400 on host-A through GUI More/Remove menu selection and check
box "Destroy unreferenced disks owned by guest"
Result is that both
<..smb..>/../images/400/vm-400-disk-0.raw and
<..smb..>/../images/400/vm-400-disk-1.raw are deleted.
As such, vm-id=400 on host-B is lost.
If box "Destroy unreferenced disks owned by guest" is NOT checked then host-B disk is NOT lost.
Just an FYI as this resulted in my losing a VM. Fortunately I was/am still in testing/learning phase.
Maybe everyone already knows this, in that case, ignore.
Thanks
Just starting using Proxmox and noticed the following WHEN USING SHARED STORAGE:
Create vm-id=400 on host-A with virt hard, this creates hard disk file <..smb..>/../images/400/vm-400-disk-0.raw
Create vm-id=400 on host-B with virt hard, this creates hard disk file <..smb..>/../images/400/vm-400-disk-1.raw
Remove vm-id=400 on host-A through GUI More/Remove menu selection and check
box "Destroy unreferenced disks owned by guest"
Result is that both
<..smb..>/../images/400/vm-400-disk-0.raw and
<..smb..>/../images/400/vm-400-disk-1.raw are deleted.
As such, vm-id=400 on host-B is lost.
If box "Destroy unreferenced disks owned by guest" is NOT checked then host-B disk is NOT lost.
Just an FYI as this resulted in my losing a VM. Fortunately I was/am still in testing/learning phase.
Maybe everyone already knows this, in that case, ignore.
Thanks