在CentOS 6.0中的input/输出错误(VirtualBox 4.1.6,Windows XP)

我正在运行一个虚拟化的CentOS机器,到目前为止运行得非常好。 今天,我注意到一些PHP扩展丢失,并意识到问题来自不可读的configuration文件。 如果我尝试列出相关目录,则会发生以下情况:

[root@localhost php.d]# ls -al ls: cannot access sysvmsg.ini: Input/output error ls: cannot access sysvshm.ini: Input/output error ls: cannot access memcache.ini: Input/output error ls: cannot access bcmath.ini: Input/output error ls: cannot access sysvsem.ini: Input/output error ls: cannot access posix.ini: Input/output error total 120 drwxr-xr-x 2 root root 4096 Nov 9 13:25 . drwxr-xr-x. 112 root root 12288 Nov 9 13:17 .. -rw-r--r-- 1 root root 3070 Sep 16 14:44 apc.ini -?????????? ? ? ? ? ? bcmath.ini -rw-r--r-- 1 root root 49 Sep 25 09:54 curl.ini -rw-r--r-- 1 root root 47 Sep 25 09:54 dom.ini -rw-r--r-- 1 root root 57 Sep 25 09:54 fileinfo.ini -rw-r--r-- 1 root root 45 Sep 25 09:54 gd.ini ... 

任何想法可能来自哪里?

磁盘上的坏扇区或磁盘的数据/电源线都可能松动。 要validation磁盘运行状况,请安装smartmontools,这将为您提供磁盘运行状况的详细信息。 也尝试运行e3fsck来检查文件系统上的错误。