C: Drive Used/Free Space WAY Different Than Actual?

Page 1 of 2 12 LastLast

  1. Posts : 97
    Windows 7 Professional 64-bit
       #1

    C: Drive Used/Free Space WAY Different Than Actual?


    As I was doing some imaging backups, I noticed that Macrium was seeing that my SSD drive had the following used/free #s:

    Partition 1: System Reserved NTFS Active 24.2 GB used, 100 GB Total
    Partition 2: OS & Programs C: 150.0 GB used, 167.58 Total

    That's tighter than I "think" is a good idea. So I looked at the folders on the C: drive and cleaned up the minimal temp folder data and emptied the recycle bin. Here's what the folders show:

    Boot 0.4 GB
    CWP 0.1 GB
    Intel 0 GB
    Program Files 10.6 GB
    Program Files (x86) 12.6 GB
    Program Data 3.7 GB
    Temp 0 GB
    Users 10.0 GB
    Windows 21.8 GB
    Total: 59.2 GB


    What is causing the discrepancy?
      My Computer


  2. Posts : 1,049
    Windows 7 Pro 32
       #2

    Could be that hidden and system files are not included.

    Also I see you have an Intel SSD. If you have the Intel SSD Toolbox program, that might sometimes leave multiple large(GB) files in the root directory after doing a diagnostic scan.
      My Computer


  3. Posts : 97
    Windows 7 Professional 64-bit
    Thread Starter
       #3

    Thanks, Tookeri. Don't have the toolbox.

    I know that I have "show hidden files" enabled in Windows Explorer and not sure if that even impacts used/free numbers when one right clicks on the drive, selects Properties to see the used/free info.

    Any other ideas?
      My Computer


  4. Posts : 4,776
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #4

    Windows Explorer


    There's tons of files that Windows Explorer can't read or display and if you're using it to get an idea of free space it's not accurate to say the least.

    See this for an explanation:

    NTFS Alternate Data Stream (ADS)

    Quote: As Windows Explorer does not list the ADS, it does not include the space used by alternate streams when calculating the free space available on the hard disk.

    Example: On my machine $USN Jrnl once grew to over 10Gb (currently it's not so large)
    but can't be read by windows explorer. That's just one example.

    C: Drive Used/Free Space WAY Different Than Actual?-ads.jpg
      My Computer


  5. Posts : 1,049
    Windows 7 Pro 32
       #5

    I think it does. But besides hidden files there's also an option to hide/show "protected operating system files".

    I tried showing both and did a comparison. Selecting all files+folders(incl. hidden + system files) in the root only showed 93% of what the drive - properties show as used. I don't know why, haven't done a compare like this before.

    Maybe someone else knows?
      My Computer


  6. Posts : 1,049
    Windows 7 Pro 32
       #6

    Nice one Callender! I completely forgot about ADS. And I'm a developer that's even used ADS in programs to hide information from the visible file system. Well, my memory has no backups like drives have
      My Computer


  7. Posts : 2,497
    Windows 7 Pro 64 bit
       #7

    When explorer calculates folder disk space it only includes files that would be visible. If explorer is configured to not show hidden files they will not be counted. This was a design choice made a long time ago.

    Also not included will be the System Volume Information folder and others that the user does not have access to. Even an elevated admin account cannot access this folder. As Explorer runs under the users account it is not able to access these folders either.

    Calculating the space consumed by a folder in NTFS is very complex and the results are at best only an approximation. Many largely arbitrary decisions were made in the design. It is not the Windows is lying about the size. The question is: what is the truth? There are many equally valid answers and they could produce very different results.

    See this for more:
    Computing the size of a directory is more than just adding file sizes - The Old New Thing - Site Home - MSDN Blogs

    The blog is by Raymond Chen, a developer with Microsoft.
      My Computer


  8. Posts : 4,776
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #8

    Space Used


    Good info from LMiller7

    Well this is interesting! I decided to have a look at used space - same drive - three utilities.


    SpaceSniffer vs Explorer
    C: Drive Used/Free Space WAY Different Than Actual?-spacesniffer.jpg

    Disksorter
    C: Drive Used/Free Space WAY Different Than Actual?-disk-sorter.jpg

    Explorer: 34.7Gb used

    SpaceSniffer: 38.3Gb used

    DiskSorter: 52.28Gb used - this one is nearer the truth but I still believe that it doesn't include everything!
      My Computer


  9. Posts : 97
    Windows 7 Professional 64-bit
    Thread Starter
       #9

    Great input guys. Very helpful. Okay, so like all things in the known universe, there's more that I can't see than I can. :)

    So...how much free space should there be on an OS/Programs drive? (All my data except Thunderbird & Firefox profiles are on other data drives.)
      My Computer


  10. Posts : 15
    Windows 7 Home 32bit
       #10

    I find it interesting that no one has mentioned slack space or chkdsk yet. Do you understand how your disk/SSD is divided into Allocation Units, and what size the Allocation Units are? You can run the command
    chkdsk c:
    as one way of finding out the Allocation Unit size, as well as how many are available for use. The amount of usable space available (in bytes) is simply the number of available Allocation Units multiplied by the number of bytes in an Allocation Unit. Once you understand Allocation Units then you can see why there is slack space where a file containing 10 characters takes up a much larger chunk of disk space.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:04.
Find Us