免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1721 | 回复: 1
打印 上一主题 下一主题

[学习分享] fsck是否可以在多用户模式下运行,会有什么后果? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-01-21 13:40 |只看该作者 |倒序浏览
前几天我的fc4系统出现了一个问题,某个分区不能写入了,重启了操作系统后恢复了,检查message信息发现了下面的内容,不知道是分区系统的问题还是硬盘的问题。

我查了一下有的网友说可以用fsck进入到单用户模式进行修复,我想问一下如果在多用户模式下使用fsck进行修复是否可行?

Jan  6 08:27:06 localhost kernel: mmap sys buffer<4>ata1: status=0x51 { DriveReady SeekComplete Error }
Jan  6 08:27:06 localhost kernel: ata1: error=0x10 { SectorIdNotFound }
Jan  6 08:27:14 localhost kernel: ata1: status=0x51 { DriveReady SeekComplete Error }
Jan  6 08:27:14 localhost kernel: ata1: error=0x10 { SectorIdNotFound }
Jan  6 08:27:19 localhost kernel: ata1: status=0x51 { DriveReady SeekComplete Error }
Jan  6 08:27:19 localhost kernel: ata1: error=0x10 { SectorIdNotFound }
Jan  6 08:27:24 localhost kernel: ata1: status=0x51 { DriveReady SeekComplete Error }
Jan  6 08:27:24 localhost kernel: ata1: error=0x10 { SectorIdNotFound }
Jan  6 08:27:28 localhost kernel: ata1: status=0x51 { DriveReady SeekComplete Error }
Jan  6 08:27:28 localhost kernel: ata1: error=0x10 { SectorIdNotFound }
Jan  6 08:27:28 localhost kernel: SCSI error : <0 0 0 0> return code = 0x8000002
Jan  6 08:27:28 localhost kernel: sda: Current: sense key: Aborted Command
Jan  6 08:27:28 localhost kernel:     Additional sense: Recorded entity not found
Jan  6 08:27:29 localhost kernel: end_request: I/O error, dev sda, sector 160002733
Jan  6 08:27:29 localhost kernel: Buffer I/O error on device sda6, logical block 15233045
Jan  6 08:27:29 localhost kernel: lost page write due to I/O error on sda6
Jan  6 08:27:29 localhost kernel: Aborting journal on device sda6.
Jan  6 08:27:29 localhost kernel: __journal_remove_journal_head: freeing b_committed_data
Jan  6 08:27:29 localhost kernel: __journal_remove_journal_head: freeing b_frozen_data
Jan  6 08:27:29 localhost kernel: __journal_remove_journal_head: freeing b_committed_data
Jan  6 08:27:29 localhost kernel: __journal_remove_journal_head: freeing b_frozen_data
Jan  6 08:27:29 localhost kernel: __journal_remove_journal_head: freeing b_frozen_data
Jan  6 08:27:29 localhost kernel: ext3_abort called.
Jan  6 08:27:29 localhost kernel: EXT3-fs error (device sda6): ext3_journal_start_sb: Detected aborted journal
Jan  6 08:27:30 localhost kernel: Remounting filesystem read-only
Jan  6 08:28:01 localhost crond(pam_unix)[2252]: session opened for user

论坛徽章:
13
技术图书徽章
日期:2014-04-29 14:15:42IT运维版块每日发帖之星
日期:2015-12-12 06:20:00IT运维版块每日发帖之星
日期:2015-08-30 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-08-02 06:20:002015年亚洲杯之澳大利亚
日期:2015-04-03 15:03:12申猴
日期:2015-03-20 09:00:292015年迎新春徽章
日期:2015-03-04 09:54:452015年辞旧岁徽章
日期:2015-03-03 16:54:15季节之章:冬
日期:2015-01-20 17:08:47双子座
日期:2014-11-21 16:30:31技术图书徽章
日期:2014-07-11 16:29:08
2 [报告]
发表于 2013-01-21 14:02 |只看该作者
进入单用户的模式的主要原因是防止有人或者有程序访问你需要检查的卷

如果你可以正常mount掉你需要检查的卷,无需进入单用户模式
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP