[Novalug] yum problem
Kevin Dwyer
kevin at pheared.net
Sat Aug 11 21:14:58 EDT 2007
On Sat, Aug 11, 2007 at 01:52:47PM -0700, Beartooth wrote:
> On Sat, 11 Aug 2007, Kevin Dwyer wrote:
>
> >> What has happened? What do I do about it?
> >
> >More useful would be: df -h /var/cache/yum/updates/packages
> >
> >Whichever partition contains /var is probably full.
>
> Aaarrgghhh! Got it in one :
>
> [root at localhost ~]# df -h /var/cache/yum/updates/packages
> Filesystem Size Used Avail Use% Mounted on
> /dev/sdb2 20G 19G 72M 100% /
> [root at localhost ~]#
>
> So now what? Can I just rm -rf /var/cache/yum/* ??
Well that command didn't reveal what is using the space, only that it's
all gone on that partition. Is /home also on the /dev/sdb2 partition?
Have you downloaded anything gihugic lately? If not, you can start to
narrow the problem by strategic use of the `du' command. By typing,
say, 'du -hs /home', you'll know how big /home is. Replace /home with
other directories on that partition and then you can dig deeper to find
the problem.
There are also some nice GUI tools that can provide a quick way to dive
into disk space usage (filelight is my favorite) but I haven't
recommended trying them since you're out of space, and likely don't have
them installed; making it impossible to play.
-kpd
More information about the Novalug
mailing list