Solved

Linux Installation Issue (RHEL 6.4)

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

828 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