2 Replies Latest reply: Aug 19, 2013 6:14 AM by Jason Liu Branched from an earlier discussion. RSS

    Free Space Incorrect After Deleting Large VHDX File

    Jason Liu Adventurer

      I have 3 Windows 2012 datacenter servers form a Hyper-V cluster.  Today I deleted a large VHDX file(500GB) from the CSV volume. In the failover cluster manager I can see the free space has increased 500GB but on Nimble it doesn't see the change at all. It still sees the same amount of free space as before I deleted the VHDX file.

        • Re: Free Space Incorrect After Deleting Large VHDX File
          Andre Aalders Newbie

          Deleting files in Windows only makes changes to the MFT, logically deleting space. In order to free up that space physically the OS will need to tell the storage which blocks are no longer used and can be freed up (assuming you use thin provisioning such as Nimble does by default). This function is called TRIM or UNMAP and as far as I know this is supported in Windows 2012 for example by using the "optimize-volume" command with the -retrim parameter. Older Windows OS'es could do the same by using the sdelete tool with the -z option.

          You do need to make sure the files are permanently deleted (not in the recycle bin).