Solved

Difference between Actual size and size on Disk

Posted on 2004-09-22
8
180 Views
Last Modified: 2013-12-04
Hello Friends,
                       We are running a windows 2000 server with IIS 5.0. Whenever I try to check the size of some directory, I find Actual size and Size on Disk. There is always a difference between both the sizes, sometimes the difference is minor and sometimes it is major. Please tell me which size is to be taken into consideration while checking the size of the directory.

Thanks
Regards
Hiren Shah
0
Comment
Question by:HirenhShah
  • 3
8 Comments
 
LVL 49

Accepted Solution

by:
Roonaan earned 50 total points
ID: 12120859
Because an harddisk is ordered in small clusters and a cluster can only be filled with data from one file, you get unused/unusable space to the end of a cluster, which explains the difference between the two values.

regards

-r-
0
 
LVL 49

Expert Comment

by:Roonaan
ID: 12120882
In addition, for example having a stack of boxes containing pies. You don't want to have any two types of pies in one box. And each box can contain 8 pieces of pie. (Each pie is sliced in eight pieces, so this works out well)

Look at one file as 22 pieces of applepie and the second file as 12 pieces of chocolatepie, you'd have to use 3 boxes to store the first file in and 2 boxes to store the second. Leaving room for about 6 other pieces if you would allow 2 kinds of pie in one box. (which a harddisk doesn't).

sorry if you see this example as offending your intellegence, it isn't intended supposed to. Just wanted to write a clear example.

regards

-r-
0
 

Author Comment

by:HirenhShah
ID: 12121047
Hello Roonaan,
                        Thanks for the reply. Well you have not mentioned as to which one is to be taken into consideration, the actual size or the size on disk. Please make it clear.

Thanks
Regards
Hiren Shah
0
 
LVL 49

Expert Comment

by:Roonaan
ID: 12121084
I guess it would be the size on disk I would take into consideration, When copying you could look at the actual size if clustersize differs from original medium to new medium, and estimate the new size on disk. Depend on what you are going to do with it. If you're just looking at it not transferring or something, I would choose size on disk.

-r-
0
 
LVL 16

Expert Comment

by:JamesDS
ID: 12122134
Roonaan
loving the pie analogy :)

Cheers

JamesDS
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I read that Microsoft has analysed statistics for their security intelligence report. It revealed: still, the clear majority of windows users do their daily work as administrator. An administrative account is a burden, security-wise. My ar…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now