Solved

Linux Installation Issue (RHEL 6.4)

Posted on 2013-11-11
3
624 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

758 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

23 Experts available now in Live!

Get 1:1 Help Now