Help activating available disk space, please.

Mike McCarty mike.mccarty at sbcglobal.net
Wed Dec 14 19:36:47 UTC 2005


David L. Gehrt wrote:
>>On 12/13/05, Mike McCarty <mike.mccarty at sbcglobal.net> wrote:
> 
> <snip>
> 
>>>>=======================
>>>>Disk /dev/hda: 80.0 GB, 80026361856 bytes
>>>>255 heads, 63 sectors/track, 9729 cylinders
>>>>Units = cylinders of 16065 * 512 = 8225280 bytes
>>>>
>>>>   Device Boot      Start         End      Blocks        Id       System
>>>>/dev/hda1   *           1          13         104391        83       Linu
> 
> x
> 
>>>>/dev/hda2              14        3837    30716280     83    Linux
>>>>/dev/hda3            9473        9726     2040255     82   Linux swap / Solaris
>>>>/dev/hda4            3838        9472    45263137+   5  Extended
>>>>/dev/hda5            3838        8102    34258581    83   Linux
>>>>
>>>>Partition table entries are not in disk order
> 

[snip]

> 
> Here is my calculations on the available partition size.
> 
>>From the end of hda5 +1 (8103 Cyl) to the start of hda3 -1 (9472 Cyl) 
> is 1627 Cyls. * 8225280 bytes/Cylinder  divided 1 GB (1024*1024*1024) 
> = 10.4870 GB
> 
> [(9472-8103)*8225280/(1024*1024*1024) = 10.4870]
> 
> Keep in mind that there is overhead associated with the layout of a file
> system which means there is always less space than the nominal disk
> size.  Super block backups, inode numbers and sizes among other things
> influence the amount of overhead.  See fs (5), dumpfs (8) and related
> man pages for more information.

I believe you made a fencepost error.

That should be (9473-8102)*8225280/(1024^3) ~ 10.5024

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the fedora-list mailing list