Loss of disk space when NTFS compression used

Started by concord

concord

Loss of disk space when NTFS compression used   11 April 2016, 01:46

Windows 10 Pro x64
RAM Disk 3.4.7 64-bit

I've tried the process multiple times, and the result has always been the same. I created a 1.0-GB image, then mounted and formatted it using NTFS with compression. Then I created a basic volume RAM disk for that image.

What happens is that whenever I have compression Windows thinks the volume is out of space when it is not. For example, I can plainly see that only 600 MB is being taken up by files, but there is still no free space. The remaining space is not being taken up by $Recycle.Bin or by System Volume Information when this happens.

Simply disabling NTFS compression resolves the issue.

Why would this happen?
SoftPerfect Support forum - Andrew avatar image

Re: Loss of disk space when NTFS compression used   11 April 2016, 10:37

I saw this behaviour even on a regular hard-drive like C:\ when NTFS compression was on. It seems to happen when you create a bunch of small files, which in turn creates a large number of records in MFT and associated metadata.

Launching defrag R: /A /V where R: is the drive letter may shed light on where the space has gone.
concord

Re: Loss of disk space when NTFS compression used   12 April 2016, 02:32

Now I'm using a 2-GB RAM disk. I just got a notification from Windows that it was out of space. Disk properties and explorer told me there was no space left. Defrag.exe told me it was about 50/50 used/free space. So I ran compact.exe /u and by disabling NTFS compression, regained 817 MB.

There are only about 50 files on the entire disk. This makes no sense.

Reply to this topic

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

  *******   **          ******   ********   **     ** 
 **     **  **    **   **    **  **     **  ***   *** 
 **         **    **   **        **     **  **** **** 
 ********   **    **   **        **     **  ** *** ** 
 **     **  *********  **        **     **  **     ** 
 **     **        **   **    **  **     **  **     ** 
  *******         **    ******   ********   **     ** 

Message: