Help activating available disk space, please.

Nat Gross nat101l at gmail.com
Wed Dec 14 19:15:28 UTC 2005


On 12/14/05, David L. Gehrt <dlg at mail.inanity.net> 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
>
> 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.
I don't understand the difference of the order fdisk list the
partions. Obviously fdisk itself is taking the pain to inform me that
they are not in order, but I don't grasp the importance of this
message.

> 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.
# ls -l /proc/ide
total 2
-r--r--r--  1 root root 0 Dec 14 14:13 drivers
lrwxrwxrwx  1 root root 8 Dec 14 14:13 hda -> ide0/hda
lrwxrwxrwx  1 root root 8 Dec 14 14:13 hdc -> ide1/hdc
dr-xr-xr-x  3 root root 0 Dec 14 14:13 ide0
dr-xr-xr-x  3 root root 0 Dec 14 14:13 ide1

<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]
>
So, you say that I have another 10GIG ready to swing into action? Yay!
Thanks;
-nat




More information about the fedora-list mailing list