Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Linux Installation Issue (RHEL 6.4)

Posted on 2013-11-11
3
Medium Priority
?
698 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 36

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month12 days, 5 hours left to enroll

916 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