vSphere Hypervisor

 View Only
  • 1.  VMDK not deleted

    Posted Dec 21, 2022 03:38 PM

    Hello, 

    I'm running a vSphere 7 Cluster with vSAN on VXRail and I recently did this operatation:
    - Took a VM Snapshot
    - Delete a virtual disk from the VM (flagging delete from disk)
    - Powered on the VM and used it for a couple of days
    - Deleted the snapshot

    What happened is that when I deleted the disk it wasn't really deleted because of the snapshot, but when I removed the snapshot the disk was only unreferenced from the VM statistics but it seems to be abandoned on the filesystem.
    There is a way to fix the contents of the VM folder and remove unused vmdk?
    Or I need to do it manually?

    Thanks
    Giuseppe



  • 2.  RE: VMDK not deleted

    Posted Dec 21, 2022 11:00 PM

    After such actions I will have only one question: is your VM still alive, prod, and not damaged? 

    you delete that vmdk. file from VM or completely from Datastore?

     



  • 3.  RE: VMDK not deleted

    Posted Dec 22, 2022 09:21 AM

    The VM is ok, but the unused vmdk is still there...

    What I'm asking is if it's safe to delete or if there is a way to fix the contents of the folder on the datastore and purge the unreferenced vmdk.
    Giuseppe



  • 4.  RE: VMDK not deleted

    Posted Dec 23, 2022 01:33 PM

    I have already lost the topic:

    make a screenshot from the VM folder. VM name you can hide or blur. 

    In case vmdk file which you want to delete is not used by VM - it can be deleted.