/ out of space - what to do?
Matthew Saltzman
mjs at ces.clemson.edu
Thu Mar 31 02:24:53 UTC 2005
On Wed, 30 Mar 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.
Most of the contents of a kernel RPM are in /lib/modules/.
$ rpm -ql kernel-2.6.10-1.770_FC3 | grep /lib/modules | wc -l
8381
$ du -ks /lib/modules/2.6.10-1.770_FC3
104880 /lib/modules/2.6.10-1.770_FC3
$ rpm -ql kernel-2.6.10-1.770_FC3 | grep -v /lib/modules | wc -l
3
$ du -ks /boot/*-2.6.10-1.770_FC3
56 /boot/config-2.6.10-1.770_FC3
722 /boot/System.map-2.6.10-1.770_FC3
1437 /boot/vmlinuz-2.6.10-1.770_FC3
>
>> 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.
Good suggestion, but I think he did that already, with some success.
--
Matthew Saltzman
Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs
More information about the fedora-list
mailing list