Re: Help activating available disk space, please.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nat,

On Wed, 2005-12-14 at 08:42 -0700, Robin Laing wrote:
> Nat Gross wrote:
> > Hi;
> > When I think of disk partions, I shiverrrrrrrr. BUT, I need to make
> > use of disk space I know I have but need to make this safely. Please
> > adivse.
> > Following, is the result of fdisk -l:
> > =======================
> > 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       Linux
> > /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
> > ==========================================
> > [First] Does this mean that I have but one drive? (thought I had two.)
That is hda, so only one drive unless there was some fdisk -l output you
did not include.

> > Now, based on the following output from df, I *think* that hda4 is
> > available for use.
hda4 is the extended partition and cannot be used directly.
hda5 is a partition within the extended area of hda4, but it ends at
cylinder 8102.  You have unused space between 8103 and 9472 (inclusive).

> > If so, how do I verify thats its empty, if it has a filesystem, and
> > why is its block count larger than hda5 which brings the total gigs to
> > far more than the 80G the drive has.
> > 
If you want another partition just run fdisk and create it from the
available space.  If you want to enlarge hda5 you can use parted or
qtparted to extend the partition into the empty space then use resize2fs
to expand the filesystem to fill the new space.

> > df -h
> > =================================
> > Filesystem            Size  Used Avail Use% Mounted on
> > /dev/hda2              29G   26G  2.3G  92% /
> > none                  506M     0  506M   0% /dev/shm
> > /dev/hda5              33G   21G   11G  66% /usr
> > =============================================
> > 
I would assume that /dev/hda1 is the boot partition (/boot), but it is
not mounted so it does not show in the df output (and may not be used).

> > df
> > ===========================================
> > Filesystem           1K-blocks      Used Available Use% Mounted on
> > /dev/hda2             30233928  26342300   2355816  92% /
> > none                    517176         0    517176   0% /dev/shm
> > /dev/hda5             33720764  21005124  11002712  66% /usr
> > ===============================================
> > 
> > Thank you, all.
> > -nat
> > 
> I am going to make another suggestion.
> 
> At the cost of hard drives, I would purchase a new drive and put that 
> in.
> 
> If you have a second drive, then it isn't being used at all.  It would 
> most likely be /dev/hdb*.  What happens if you run "fdisk /dev/hdb" ?
> 
fdisk -l will list all the drives on the system regardless of whether
used or not.

> Drive space is cheap enough today to add extra drives where needed.  I 
> have one drive for just temp backups.
> 
Agreed
> Robin
> 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux