VMware vSphere

 View Only
  • 1.  Reclaiming disk space after VM machine removed

    Posted Jun 05, 2015 04:59 PM

    Hello,

    We just recently removed a machine off the host but the space has not free up.  The datastore has not updated with the correct free space.  The machine is no longer display in the datastore.  We have also refresh the datastore, but haven't rescan it since we have other datastores in live production.

    The machine we removed was a AWS3 gateway machine consisting of 70 GB, 2 TB, 5 TB disks.

    info:

    ESXi 5.5

    datastore: NFS mount from a Linux machine

    Thanks,

    TT



  • 2.  RE: Reclaiming disk space after VM machine removed

    Posted Jun 05, 2015 06:07 PM

    Are you browsing the datastore through the viClient?

    Browse the NFS share from the linux box or ssh and verify that there are no files there or hidden files. When browsing a datastore via the viClient it doesn't show all the files that might be on the datastore because VMware doesn't want you messing with them.



  • 3.  RE: Reclaiming disk space after VM machine removed

    Posted Jun 05, 2015 06:37 PM

    I will check the Linux box out and remove the files if there are any.  I will report back.

    Thanks,

    TT



  • 4.  RE: Reclaiming disk space after VM machine removed

    Posted Jun 05, 2015 06:54 PM

    Sometimes this depends on your storage, but 99% of the time what works is creating a new data-store, move the remaining VM's to that new data-store, and then deleting the old data-store.



  • 5.  RE: Reclaiming disk space after VM machine removed

    Posted Jun 05, 2015 08:32 PM

    yeah but its an NFS datastore so deleting it doesn't really change anything because its just a network share mount. I'll bet a dollar there are some hidden files on that NFS store or someone has put some files not related to vmware on that same share. Since its NFS there is nothing that vmware does to protect the NFS mount from being used by other systems on the network.