Solved

Linux Installation Issue (RHEL 6.4)

Posted on 2013-11-11
3
629 Views
Last Modified: 2013-11-11
Hello Experts,

I am not able to run a Yum update

[root@dopetc03 ~]# yum -y update
rpmdb: /var/lib/rpm/__db.001: No space left on device
error: db3 error(28) from dbenv->open: No space left on device
error: cannot open Packages index using db3 - No space left on device (28)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

So this looks like there is no space in /var but when I checked space in the /var we have enough space..

[root@dopetc03 ~]# df -H /var
Filesystem             Size   Used  Avail Use% Mounted on
/dev/mapper/rootvg-varvol
                       1.6G   707M   767M  48% /var


When I checked for inodes they are completely full
[root@dopetc03 ~]# df -i /var
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/mapper/rootvg-varvol
                       96384   96384       0  100% /var

So how do I fix this issue ..??

Thanks
Sri
0
Comment
Question by:aanya247
  • 2
3 Comments
 
LVL 34

Expert Comment

by:Seth Simmons
ID: 39638958
you need to move files off /var to a different location
you can't change the inode ratio of an ext file system without reformatting
0
 
LVL 21

Accepted Solution

by:
Mazdajai earned 500 total points
ID: 39639186
There may be some small files taking up the inodes, try do some clean up, this article has a pretty good explanation.

Also issue a yum clean all to clean up the cache.
yum clean all

Open in new window

0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39639694
Did you end up cleaning the inodes or yum cache?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Error installing extension Linux 4 59
nagios monitor 3 44
linux installs 6 49
Delete a folder on a linux computer on a regular basis 10 21
In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now