setaOffice

Unix Intelligence Gathering

rpm error: failed to stat /media: Input/output error

Posted by Emerson Takahashi on August 8, 2012

I had a system where the rpm command was very slow after I was trying to upgrade a package

root@rhel5:~ # rpm -Uvh /tmp/kexec-tools-1.102pre-154.el5.x86_64.rpm
error: failed to stat /media: Input/output error
Preparing… ########################################### [100%]
1:kexec-tools warning: /etc/kdump.conf created as /etc/kdump.conf.rpmnew
########################################### [100%]

The filesystem /media is a NFS share. The server that was hosting the NFS was down and the rpm command was slow because it tried to stat the filesystem.

About these ads

Sorry, the comment form is closed at this time.

 
Follow

Get every new post delivered to your Inbox.

Join 288 other followers

%d bloggers like this: