Solved

Difference between Actual size and size on Disk

Posted on 2004-09-22
8
175 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In today's information driven age, entrepreneurs have so many great tools and options at their disposal to help turn good ideas into a thriving business. With cloud-based online services, such as Amazon's Web Services (AWS) or Microsoft's Azure, bus…
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 …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 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

11 Experts available now in Live!

Get 1:1 Help Now