Help activating available disk space, please.

David L. Gehrt dlg at mail.inanity.net
Wed Dec 14 09:42:54 UTC 2005


> 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

In fdisk you can arrange to get the partitions in disk order but I am
not sure of the effect when your swap partition is a primary partition
located on disk "after" the extended partition.  You can try it, nd if
you do not like the looks of the new table just quit, WITHOUT writing it
to the disk.  BUT I seem to recall that the primary partitions are
listed before the extended/logical partitions.  I can't recall for sure.

As far as how many disks?  You could look in /proc/ide or in /var/dmesg
for clues as to what Linux thinks about possible additional drives.  If
they exist and are connected to power and a controller they should show
up.

<snip>

> > You could get another volume out of hda4 from 8103 through 9472
> > inclusive, for another 5.6 GIG of space. Would another 5.6 GB
> > be of much use to you? Perhaps. You also have two cylinders
> > unallocted.
> In an emergency, 5.6gig will do. But, this is an 80gig drive. My other
> partitions are 33gig and 29gig. I should have at least 16gig free
> (after allowing for boot and swap), or so I thought. Where is the
> other 10 gig?
> Thanks,
> -nat
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

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.

dlg




More information about the fedora-list mailing list