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, 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