/ out of space - what to do?
Anthony J Placilla
anthony_placilla at SUTH.COM
Tue Mar 29 18:15:08 UTC 2005
On Tue, 2005-03-29 at 10:54 -0600, Syl wrote:
> I am running FC2 and I have been keeping my updates current. Recently, I ran
> out of space on / and I can no longer do any updates. I have checked
> /var/log files, etc and everything appears to be in order. Here is a df of
> my system
>
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/hdb2 4031560 3764916 61844 99% /
> /dev/hdb1 99043 24529 69400 27% /boot
> /dev/hdb6 20181400 8096684 11059532 43% /data
> /dev/hdb5 1007960 61404 895352 7% /home
>
> What should I do?
>
> thanks
> Syl
>
take a look to see if something big jumps out at you:
find / -xdev -size +2048k > /tmp/bigstuff.txt
less /tmp/bigstuff.txt
that'll show files over 2 meg & you can remove as you see fit. Adjust
the value as you need.
Also edit /etc/logrotate.conf & uncomment the compress option.
Compressing logs is a very good way to optimize the usage in /var/log/
Be aware that you will need to manually prune out some logfiles due to
changes in extensions.
--
Tony Placilla, RHCT
anthony_placilla at suth.com
J.O.A.T.
GPG-Key-ID: 1024D/C78F8B64 http://pgp.mit.edu
Key fingerprint = A8D5 7AFF CE88 4179 C792 D9A9 F197 2A15 C78F 8B64
More information about the fedora-list
mailing list