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

Re: [cobalt-users] Disk Usage Warning [Qube2]



On Thu, 01 Feb 2001 18:32:45 -0500, Peter Low <peterlow@xxxxxxxxxxxxxxxxxx>
wrote:

:>I just updated my Qube2 with OS Update Release 4.0 and Security Release 
:>4.0.2-8747, and got a warning on disk usage.  The disk usage summary page 
:>shows an amber light next to Operating System and Programs with 506MB 
:>used.  Is this a problem?  Any way to fix?
:>

Do a df

[admin@vanecek admin]$ df
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/hda1             297634  235555    62079     79%   /
/dev/hda3             198601    7996   190605      4%   /var
/dev/hda4            9040152  104626  8935526      1%   /home

When the root partition (hda1) hits 80% you will get warning messages. My
solution was to move some things off of root and onto home:

[admin@vanecek admin]$ d /home/local
total 7
drwxrwx---   7 root     wheel        1024 Nov 25 17:46 ./
drwxr-xr-x  13 root     root         1024 Dec  5 21:47 ../
drwxr-xr-x   2 root     wheel        1024 Dec  1 01:28 bin/
drwxr-xr-x  12 root     man          1024 Jun 18  2000 man/
drwxrwx---   2 root     wheel        1024 Feb  2 09:02 portsentry/
drwxr-xr-x   2 root     wheel        1024 Nov 25 14:49 sbin/
drwxr-xr-x   3 root     man          1024 Nov 24 13:34 ssl/
[admin@vanecek admin]$ d /home/usr
total 11
drwxr-xr-x   5 root     root         1024 Dec 10 16:32 ./
drwxr-xr-x  13 root     root         1024 Dec  5 21:47 ../
drwxr-xr-x  71 root     root         2048 Dec  6 14:57 doc/
drwxr-xr-x   2 root     root         6144 Dec  5 16:32 info/
drwxr-xr-x   6 root     root         1024 Oct 22 15:51 src/
[admin@vanecek admin]$ d /home/tmp
total 2
drwxrwxrwt   2 root     root         1024 Dec  5 16:32 ./
drwxr-xr-x  13 root     root         1024 Dec  5 21:47 ../

I then put links in the original locations to the home partition and deleted
the files in the root partition. If you decide to do this, measure twice and
cut once.