/boot keeps losing inodes after each reboot and df wrongly shows 100% used on /boot

Solution Verified - Updated -

Issue

  • /boot keeps losing inodes after each reboot, the number of inodes reduces from default 524288 to 512.
# df -i /boot
Filesystem     Inodes IUsed IFree IUse% Mounted on
/dev/sda1         512   325   187   64% /boot
  • df wrongly reports /boot is 100% used, but du only reports around 100MB used on /boot
# df -h | egrep 'boot|Use'
Filesystem                        Size  Used  Avail Use% Mounted on
/dev/sda1                         1014M 1014M     0 100% /boot

# du -sxkh /boot
112M    /boot

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content