How to delete orphaned VHD virtual disks?
-
How to delete VHDs that are not realted to any vm? I think it will not be deleted automatically after vm deletion. EG. For example - I've deleted "Atlas" VM, but big atlas VHD remains on BackupHost's local storage:
Question 2:
I have xcp-ng host only for backup purposes, with local storage. I want clean SR, wipe every vm and every VHD file remains on the backup host. What's the proper way to do it? -
They should be deleted alongside the VM. If it's not, then it's not normal.
If you want to clean all remaining VHDs, go into SR view, select all, remove. And wait
-
@olivierlambert said in How to delete orphaned VHD virtual disks?:
If it's not, then it's not normal.
OK, what can I do trace the problem? or if those VHDs were not deleted during VM deletion, is this possible to discover now what was the cause of that?
-
Check host logs to understand why. Maybe those VHD were attached to the control domain or something like that.