Chinaunix首页 | 论坛 | 博客
  • 博客访问: 832652
  • 博文数量: 105
  • 博客积分: 636
  • 博客等级: 中士
  • 技术积分: 1704
  • 用 户 组: 普通用户
  • 注册时间: 2012-08-11 10:57
文章分类

全部博文(105)

文章存档

2017年(4)

2016年(9)

2015年(18)

2014年(16)

2013年(34)

2012年(24)

分类: LINUX

2014-07-12 10:33:39

一台装有redhat 6.2 linux 的服务器 意外down机,联系机房重启 发现如下故障
启动时检测文件系统
checking filesystems
/dev/sda2:clean,22/128016 file,52824/512000 blocks
/dev/mapper/vg-expdp_lv02 is mount,e2fsck:cannot continue,aborting.
/dev/mapper/vg-rman_lv01 is mount. e2fsck:cannot continue,aborting.
/dev/mapper/vg-LogVol04:clean,38/18350000 file,65238516/73400320 blocks
                                                                          【failed】
*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
give root password for maintenance
(or type Control-D to continue):

问题分析:
在检查文件系统时,标clean为正常,表示数据一致。
e2fsck:cannot continue,aborting.这样的说明有问题 被强行终止检查。
上面两个lv 是通过ipsan挂载的 ,在fstab中设置为自动挂载,开机检测。
输入root密码 fsck 会不会解决呢!
问题解决步骤:
此处输入root密码,输入好多次都不对 糟糕难道忘记密码了!
幸好有安装光盘,进入rescue模式,更改root密码。
重新启动,再次到报错界面,输入root密码;
输入命令 e2fsck -y /dev/mapper/vg-expdp_lv02  强行检查lv
还是报错,这两个lv是做备份存储用的 想先卸载了再说,
在此种模式下文件系统是只读模式 修改不了fstab
于是再次进入rescue模式 修改fstab 把挂载以上两个lv的记录注释:
再次重启,正常启动.

系统正常启动后,需要手动挂载上面两个lv 。


阅读(20201) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~