Re: Used space on an NTFS volume



The size of a given file isn't usually exactly divisble by the allocation
unit size. If you have a 4K allocation unit and 10 allocation units on the
disk, and the file is 3.8K, then you would count 3.8 K of files and you
would have 9 allocation units lef or 36K; although you've only used 3.8K,
4K has been used on the disk. This is of course an oversimplification and
doesn't account for the various NTFS indexes or the space consumed by
directories or the MFT, etc., but you get the picture.




"David Crow" <david_dot_crow@xxxxxxxxxx> wrote in message
news:%23IbXcHI$HHA.1184@xxxxxxxxxxxxxxxxxxxxxxx
Ok, I granted myself access to System Volume Information, and now the
numbers are "reversed." I am now counting 30.3GB used by files, but
GetDiskFreeSpaceEx() is only reporting 28GB used.

?????

"David Crow" <david_dot_crow@xxxxxxxxxx> wrote in message
news:OjXVyUG$HHA.3780@xxxxxxxxxxxxxxxxxxxxxxx
Using some Win32 code, I can account for 25.3GB out of the 28.2GB that is
being used. Where's this other 2.8GB going to? The MFT, and its mirror,
only consume 125.5MB.

Thanks,
DC





.



Relevant Pages

  • RE: allocation unit size
    ... As for the disk allocation unit size for the SAN system used as SQL Server ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.sqlserver.setup)
  • Re: Exch 2007 disk allocation units?
    ... For Netapp you don't do disk alignment, ... format the LUN whith SnapDrive when you create ... Netapp takes care of the allocation unit size for you as well. ... number of log buffers you have for the storage group. ...
    (microsoft.public.exchange.setup)
  • Re: SATA Errors
    ... You should be fine with Allocation Unit size of 4 KB. ... If you install windows on such partition, then you will most likely receive ... boot to recovery console and run FIXBOOT to replace the boot brogram with ... that the disk is SCSI. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Missing disk space
    ... I run chkdsk from the root. ... Even if each file wasted an entire allocation unit, ... wasted space figure could be larger. ... defrag because it sees only about 14% of the disk free. ...
    (microsoft.public.windows.file_system)
  • Re: Bad allocation unit on hard drive
    ... allocation unit" on disk. ... seeing bad sectors, the disk has run out of spare sectors. ... I thought that "low-level formatting" ...
    (comp.os.linux.misc)

Loading