Recommended hard drive diet?

Eberhard Roloff tuxebi at gmx.de
Fri Dec 15 13:40:27 UTC 2006


Trevor Nye wrote:

> 
>> 
>> I would try to tackle this from the bottom up.
>> 
>> df -h
>> shows you all your partitions on your disk, their respective sizes and
>> what percentage of that space is in use.
>> 
> I tried this cammand but I get this result
> trevor at Ubuntu-desktop:~$ df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hdb1              20G   19G  241M  99% /
> varrun                506M  136K  506M   1% /var/run
> varlock               506M     0  506M   0% /var/lock
> procbususb             10M  140K  9.9M   2% /proc/bus/usb
> udev                   10M  140K  9.9M   2% /dev
> devshm                506M     0  506M   0% /dev/shm
> lrm                   506M   18M  489M
> 4% /lib/modules/2.6.17-10-generic/volatile
> trevor at Ubuntu-desktop:~$
> But I also have hda2 & hda3 I am on UBUNTU 6.10

hmmm, so that means that you are running out of space in /  ;-)

Now use Clives command to identify the most critical space hogs and proceed
from there.

After you will be "clean" again, you might consider to use separate
partitions for anything that is eating up your space. Doing this, you keep
a workable computer, even if your space eating daemons will render their
separate partition to be out of space. 

Imho, it usually is a good idea to have /home on a separate partition,
Depending on what you do, /var (and many more) could also make sense.

Btw. having you /home on a separate partition also will make any
distribution reinstall or upgrade nearly trivial.

Kind regards
Eberhard





More information about the ubuntu-users mailing list