Replacing the root file system if it has no inodes left

Solution Unverified - Updated -

Issue

Original error:

 OSError: [Errno 28] No space left on device: '/tmp/

when we try to install any package we getting error message as above.
output of df -i shows there is no free inode

Filesystem                        Inodes   IUsed   IFree IUse% Mounted on               
/dev/mapper/VolGroup00-LogVol00   524288  524288       0  100% /

How do we fix this?

Environment

  • Red Hat Enterprise Linux, Ver 4
  • Red Hat Enterprise Linux, Ver 5
  • Red Hat Enterprise Linux, Ver 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.