2010-10-21, 12:10 PM
Hi guys,
Whenever I try and update the server using yum, I get an error something like:
Code:
Transaction Check Error:
installing package nss-3.12.8-1.el5.centos.i386 needs 4KB on the / filesystem
Now I fixed this before by removing old kernel's, but there are only 2 at the moment (the one in use and a new one - waiting for a good time to reboot!)
Disk usage:
Code:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md1 4956160 4947480 0 100% /
/dev/md3 4956224 1508680 3191716 33% /var
/dev/md2 271835552 55636240 202168148 22% /home
/dev/md0 77649 18728 54912 26% /boot
tmpfs 3911088 0 3911088 0% /dev/shm
Contents of /
Code:
ls / -al
drwxr-xr-x 24 root root 4096 Sep 30 11:05 .
drwxr-xr-x 24 root root 4096 Sep 30 11:05 ..
-rw-r--r-- 1 root root 0 May 18 09:41 .autofsck
-rw-r--r-- 1 root root 0 Jan 15 2010 .autorelabel
drwxr-xr-x 2 root root 4096 Oct 16 04:02 bin
drwxr-xr-x 5 root root 5120 Oct 15 11:18 boot
drwxr-xr-x 12 root root 4100 Oct 17 04:02 dev
drwxr-xr-x 82 root root 12288 Oct 21 04:02 etc
drwxr-xr-x 13 root root 4096 Oct 15 11:17 home
drwxr-xr-x 11 root root 4096 Oct 16 04:02 lib
drwxr-xr-x 7 root root 4096 Oct 16 04:02 lib64
drwx------ 2 root root 16384 Jan 15 2010 lost+found
drwxr-xr-x 2 root root 4096 Jan 26 2010 media
drwxr-xr-x 2 root root 0 Aug 18 02:00 misc
drwxr-xr-x 3 root root 4096 Jan 26 2010 mnt
drwxr-xr-x 2 root root 0 Aug 18 02:00 net
drwxr-xr-x 3 root root 4096 Jan 26 2010 opt
dr-xr-xr-x 437 root root 0 May 18 10:40 proc
drwxr-x--- 4 root root 4096 Oct 21 11:25 root
drwxr-xr-x 2 root root 12288 Oct 16 04:02 sbin
drwxr-xr-x 2 root root 4096 Jan 26 2010 selinux
drwxr-xr-x 2 root root 4096 Jan 26 2010 srv
drwxr-xr-x 11 root root 0 May 18 10:40 sys
drwxrwxrwt 3 root root 20480 Oct 21 11:33 tmp
drwxr-xr-x 14 root root 4096 May 17 14:05 usr
drwxr-xr-x 23 root root 4096 May 17 14:05 var
Is there a way I can give '/' more space safely? I'm not too sure I want to go delete stuff from there in case it has disastrous consequences...
Cheers
Neil