[CentOS] Problem with yum on CentOS Linux release 7.2.1511 (Core) with 3.10.0-327.36.3.el7.x86_64 kernel

Wed Dec 14 19:11:16 UTC 2016
Gregory P. Ennis <PoMec at PoMec.net>

Am 14.12.2016 um 14:44 schrieb Gregory P. Ennis:
> Everyone,
>
> I am at a loss on this problem would appreciate some guidance as to
> where to start to fix it.
>
> I noticed that my home gateway server was not being updated with the
> new kernel and other software, and when I ran yum it aborted with the
> following notices.  I tried a yum clean all, but this did not fix the
> problem.  I thought the problem may be related to one of the repos, but
> I have other machines in the same network that update properly.  I
> disabled all repos except the BASE to try to simply the problem and
> still the same problem.
>
> Any help would be appreciated.
>
> Thanks,
>
> Greg Ennis
>
>
> Loaded plugins: aliases, changelog, fastestmirror, langpacks, product-
> id, search-
>               : disabled-repos, subscription-manager, tmprepo, verify,
> versionlock
> This system is not registered with Subscription Management. You can use
> subscription-manager to register.
> base                                                          | 3.6
> kB  00:00:00
> (1/2): base/7/x86_64/group_gz                                 | 155
> kB  00:00:00
> (2/2): base/7/x86_64/primary_db                               | 5.6
> MB  00:00:01
> Determining fastest mirrors
>  * base: centos.mirror.lstn.net
> Traceback (most recent call last):

[ ...

> OSError: [Errno 5] Input/output error:
> '/var/lib/yum/yumdb/f/27ef8f508b150c2162f1bdcb1bc41713836b88ee-fence-
> agents-ipdu-4.0.11-27.el7_2.9-x86_64/from_repo'

Such an I/O error indicates either a phyisical problem (storage broken) 
or filesystem full or read-only.

Do other opertions besides a "yum update" work properly? Specificly do 
disk operations succeed?
Do you see any error messages in /var/log/messages respectively by 
"journalctl -b"?

Regards

Alexander


--------------------------------

Alexander,

Thanks for your assistance.  I have not identified any problems with the
drive, and have no difficulty reading or writing from the disc.  E-mail
is going in and out without a problem. I have not identified any other
problem with the machine.

The disc space seems ok to me, here is the result of df 


> [root at localhost ~]# df -v
> Filesystem                    1K-blocks      Used  Available Use% Mounted on
> /dev/mapper/centos_hmwk-root   52403200  12425172   39978028  24% /
> devtmpfs                         863512         0     863512   0% /dev
> tmpfs                            879348         0     879348   0% /dev/shm
> tmpfs                            879348     58216     821132   7% /run
> tmpfs                            879348         0     879348   0% /sys/fs/cgroup
> /dev/mapper/centos_hmwk-u0   1023500000 571429000  452071000  56% /u0
> /dev/mapper/centos_hmwk-u1   1023500000 160669800  862830200  16% /u1
> /dev/mapper/centos_hmwk-home   52403200     96148   52307052   1% /home
> /dev/mapper/centos_hmwk-u2   1023500000 310892544  712607456  31% /u2
> /dev/mapper/centos_hmwk-u3    213371092     34736  213336356   1% /u3
> /dev/mapper/centos_hmwk-u     511750000  66208428  445541572  13% /u
> /dev/sda2                        508588    366236     142352  73% /boot
> /dev/sda1                        204580      9640     194940   5% /boot/efi
> /dev/sdd1                    2884105400  53040472 2684536980   2% /media/usbdrive
> tmpfs                            175872         0     175872   0% /run/user/0