[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] "My hard Drive needs to lose some weight" - Raq4R
- Subject: RE: [cobalt-users] "My hard Drive needs to lose some weight" - Raq4R
- From: Rodolfo Paiz <rpaiz@xxxxxxxxxxxxxx>
- Date: Sat Mar 17 14:35:21 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> Have looked in the /tmp /usr/tmp folders and searched for *.tar.gz and
> *.tar/ *.gz files from root without finding anything in the / dirs,
> meanwhile the space used by root increased by 4% this morning:
>
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/md1 743371 718603 24768 97% /
> /dev/md3 198275 15946 182329 8% /var
> /dev/md4 18107071 925178 17181893 5% /home
Don't have time to get into details right now, but the "du" command
(which stands for "disk usage") can go down through the levels one by
one if you use some parameter, which I think goes like this:
du -h --maxdepth=1 /
will get the disk usage by every branch from /, one level deep. So it
will return results for /var, /home, /usr, and the rest. You know that
/var and /home are not your problems, so look at the results of the rest
and choose the biggest.
Change into that directory, and repeat the command. Repeat ad infinitum
until you find the directory taking up the most space. Enough time spent
hunting this way *will* help you find out what's using most of your
700MB.
Why the hell don't these things have at least a 2GB / partition, anyway?
After all, most of us have 17GB free on /home just like JA, dammit.
500MB for /var wouldn't hurt, either.