?
Solved

Difference between Actual size and size on Disk

Posted on 2004-09-22
8
Medium Priority
?
194 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
8 Comments
 
LVL 49

Accepted Solution

by:
Roonaan earned 200 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

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…
This is a guide to the following problem (not exclusive but here) on Windows: Users need our support and we supporters often use global administrative accounts to do this. Using these accounts safely is a real challenge. Any admin who takes se…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

718 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