I am getting Low Disk Space on
/boot/ in CentOS 7. I got this error since I recently did
df command shows 100% usage on boot folder.
Following are the snapshots.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
As answered by @strandraeber above your
/boot/ is full due to old kernels
One way to fix this would be deleting old kernels.
You can do that by installing yum-utils and running command as shown
package-cleanup --oldkernels --count=1
This will delete all old kernels except for latest one. You can play with the numbers too.
Another option for you is to resize boot partition.
Edit: Adding another point which I learned from this post
that is to relocate your
/boot/ partition as well.
There are probably old and unused kernel images residing in /boot. According to this post https://unix.stackexchange.com/a/83420/176600 you can remove them with