/ out of space - what to do?

Rick Stevens rstevens at vitalstream.com
Thu Mar 31 01:26:47 UTC 2005


Edward Moon wrote:
> On Thu, 31 Mar 2005 10:12:02 +1000, Neil Dugan
> <fedora at butterflystitches.com.au> wrote:
> 
>>On Wed, 2005-03-30 at 10:09 -0600, Gustavo Seabra wrote:
>>
>>>On Tue, 29 Mar 2005 10:54:24 -0600, Syl <jkatz at sasktel.net> 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
>>>>
>>>
>>>Syl,
>>>
>>>Sorry I'm late... but there's one point that hasn't been touched here.
>>>If you just keeping updating, you probably have a large number of
>>>kernels installed that you don't use or need. Each kernel occupies a
>>>large space. To get a list of the installed kernels, do
>>>
>>>>rpm -q kernel
>>>>rpm -q kernel-smp
>>>
> 
> Deleting old kernels & related files won't help the OP since the
> kernels aren't on the / partition.
> 
>>From the original email, a separate /boot partition is shown in the df output.
> 
> I would suggest you take a look at the contents of your /var
> directory. I recall that yum stores header files & rpms somewhere
> under there. Deleting old rpm files should free up space on the /
> partition.

"yum clean all" will delete all of the cruft yum leaves behind in
/var/cache/yum.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-           Vegetarian:  Old Indian word for "lousy hunter"          -
----------------------------------------------------------------------




More information about the fedora-list mailing list