結果 yum update 的時候就跳出下面錯誤
installing package kernel-2.6.32-696.13.2.el6.i686 needs 759KB on the /boot filesystem
[('installing package kernel-2.6.32-696.13.2.el6.i686 needs 759KB on the /boot filesystem', (9, '/boot', 777216L))]
確認一下 /boot 大小
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 1.1T 745G 289G 73% /
tmpfs 6.9G 0 6.9G 0% /dev/shm
/dev/sda1 93M 62M 27M 70% /boot
確認一下目前使用的 kernel
# uname -r
2.6.32-696.3.2.el6.i686
確認安裝的 kernel
# rpm -qa|grep kernel|sort
abrt-addon-kerneloops-2.0.8-43.el6.centos.i686
dracut-kernel-004-409.el6_8.2.noarch
kernel-2.6.32-696.10.1.el6.i686
kernel-2.6.32-696.3.2.el6.i686
kernel-devel-2.6.32-431.el6.i686
kernel-devel-2.6.32-696.10.1.el6.i686
kernel-devel-2.6.32-696.3.2.el6.i686
kernel-firmware-2.6.32-696.10.1.el6.noarch
kernel-headers-2.6.32-696.10.1.el6.i686
libreport-plugin-kerneloops-2.0.9-33.el6.centos.i686
移除目前未使用的 kernel
rpm -e kernel-2.6.32-696.10.1.el6.i686 kernel-devel-2.6.32-696.10.1.el6.i686
這樣就可以清出空間 yum update
0 意見:
張貼留言