Question on Drive Capacity.

onza

Diamond Member
Sep 21, 2000
8,937
0
0
reviews.ragingazn.com
so, i have an 80gig drive and as usual after partitioning it it shows 74.5gigs

i select all the files on the drive, right click to see how much space is used it says 51.3gigs, and when i right click the drive while in my computer, it says 69.5gb used, so that means that i have no idea where the 18.2gb's are

any ideas?
 

Pariah

Elite Member
Apr 16, 2000
7,357
20
81
slack. If you have a lot of small files and you use a large cluster size a lot of your drive space is wasted in slack. If you have a 2k file and 32k cluster, 30k of that cluster is wasted space as only one file, or part of one file can be stored in a cluster.
 

Pariah

Elite Member
Apr 16, 2000
7,357
20
81
Defragging won't do anything. All that does is rearrange the same semi filled clusters to other spots on the disk. There is no way to recover the disk space beyond changing the cluster size on the drive which isn't recommended while there is data on the disc.
 

KF

Golden Member
Dec 3, 1999
1,371
0
0
Yes its slack. When space is allocated to a file, the file system uses multiples of a certain amount - the cluster size. Usually the file size is not an exact multiple of the allocation size. Therefore the final cluster may not be full, and that waste is called slack. Statistically about half of the last cluster is used. So if you multiply the number of files by the cluster size and take half, that is pretty good guess about the amount of slack. A huge hard drive and tens or hundreds of thousands of files can add up to a lot of slack.

>i defragged, and it didnt do much...

>i was thinking just a format and put everything back on...

>unless there is another alternative.

PowerQuest Partition Magic will resize the clusters without you having to wipe the HD. Irreplaceable files should always be backed up anyway, just in case. There are a few other programs that do the same thing, I believe. Partition Commander. Partition Expert.

If you don't want to use Partition Magic, and you don't mind putting everything back on the HD, then you can format the HD with the NTFS (corrected from HPFS) file system in Windows XP, and the allocation size most likely will be low enough to give you less than 5% slack.

You can also partition the HD into several partitions. The slack will be less because the cluster size chosen is smaller for smaller partitions. But for many people, managing files on multiple disks is a PITA.

But if your HD is getting tight, you are a candidate for a bigger HD. I believe Best Buy has a deal on a 160G Western Digital 7200rpm HD for $130 after rebate.
 

Pariah

Elite Member
Apr 16, 2000
7,357
20
81
then you can format the HD with the HPFS file system in Windows XP, and the allocation size most likely will be low enough to give you less than 5% slack.

Don't you mean NTFS? Why would you want the OS/2 file system in XP and how would you format it?