Filesystem error recorded from previous mount IO failure
RHEL5.5
[root@10_32_66_32 ~]# mount
/dev/sda3 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
mount: warning /etc/mtab is not writable (e.g. read-only filesystem).
It's possible that information reported by mount(8) is not
up to date. For actual information about system mount points
check the /proc/mounts file.
[root@10_32_66_32 logs]# vim /var/log/messages
Nov 28 10:31:42 10_32_66_32 kernel: EXT3-fs warning (device sda3): ext3_clear_journal_err: Filesystem error recorded from previous mount: IO failure
原因:在root登陆下,对/只读权限
解决方法:将机器重启,重启过程中磁盘会重新读取(过程比较慢),重启好后用mount 查看文件系统是否正常,如果还有问题就用mount -n -o remount,rw / 将/重新挂载一次。
附加内容:
如果在重启过程中出现以下现象,输入mount -n -o remount,rw /后重启没有,就安装接下的操作
开机,进入输入密码,在命令行输入fsck –y /dev/mapper/VolGroup-lv_root(/dev/mapper/VolGroup-lv_root这个路径为报错路径)
等加载完后,reboot重启就可以了(20GB大概5分钟就可以了)