[转]解决journal block not found错误
来源:互联网 发布:centos 7硬盘安装 编辑:程序博客网 时间:2024/05/22 21:27
原贴:http://www.linuxfly.org/read.php/255.htm
[转]解决journal block not found错误
引用地址:
注意: 该地址仅在今日23:59:59之前有效
注意: 该地址仅在今日23:59:59之前有效
某机器,系统运行一段时间之后根分区都会变成只读。当使用光盘进入拯救模式后,用
可以看到文件系统的状态是“clean with errors”。
用fsck进行系统检查时,报如下错误:
该错误表明ext3文件系统有一部分的日志丢失了。由于fsck并不能恢复日志,需要手动重建磁盘日志。
重建ext3的日志:
进入rescue模式
1)将sda1转换为ext2,即去掉ext3的日志:
2)对sda1进行fsck
3)将sda1从ext2转换为ext3,重建日志
完成后,重启系统,根分区恢复正常。
※ 以上内容来自赵超 zhaochao#redflag-linux.com
# dumpe2fs -h /dev/sda1
可以看到文件系统的状态是“clean with errors”。
用fsck进行系统检查时,报如下错误:
引用
journal_bmap_Rsmp_6199acb1: journal block not found at offset 5132 on md(9,0)
Aborting journal on device md(9,0).
ext3_abort called.
EXT3-fs abort (device md(9,0)): ext3_journal_start: Detected aborted journal
Remounting filesystem read-only
Aborting journal on device md(9,0).
ext3_abort called.
EXT3-fs abort (device md(9,0)): ext3_journal_start: Detected aborted journal
Remounting filesystem read-only
该错误表明ext3文件系统有一部分的日志丢失了。由于fsck并不能恢复日志,需要手动重建磁盘日志。
重建ext3的日志:
进入rescue模式
1)将sda1转换为ext2,即去掉ext3的日志:
# tune2fs -O ^has_journal /dev/sda1
2)对sda1进行fsck
# e2fsck -yf /dev/sda1
3)将sda1从ext2转换为ext3,重建日志
# tune2fs -j /dev/sda1
完成后,重启系统,根分区恢复正常。
※ 以上内容来自赵超 zhaochao#redflag-linux.com
- [转]解决journal block not found错误
- [转]解决journal block not found错误
- bash: groupadd: command not found 错误解决[转]
- 一个Provisioning not found错误的解决
- hive: command not found错误解决
- 解决开机“xmnt2002 program file not found”错误
- 解决开机“xmnt2002 program file not found”错误
- 解决ORA-39166: Object CCXE.RR_JYRESEARCHREPORT was not found错误
- ld: library not found for -lgcc_s.10.5错误的解决
- Spring MVC “404 Not Found”错误的解决
- library not found for -lz.1.2.3 编译错误 解决
- 解决调试android程序,出现错误"source not found"
- Ubuntu解决sudo: source: command not found错误
- Phonegap解决错误:Error initializing Cordova:Class not found
- version `GLIBCXX_3.4.11' not found错误及解决
- Phonegap解决错误:Error initializing Cordova:Class not found
- Phonegap解决错误:Error initializing Cordova:Class not found
- 解决jquery-1.10.2.min.map 404 Not Found错误
- ajax 检测注册用户名是否存在
- Attribute在.NET编程中的应用(五)
- GetSystemMetrics
- 取消 VI 搜索高亮显示
- 《APMServ 5.2.6》:一键快速搭建Apache+PHP+MySQL+Nginx+Memcached+ASP平台的绿色软件[原创]
- [转]解决journal block not found错误
- .net Framework 2.0 专门提供了配置文件的操作
- [转]yum.conf 配置文件详解
- mysql
- HAL Flat Display Driver Demystified
- 转]解决modprobe : can't locate module block-major-43错误
- Effective C++读书笔记3(资源管理)
- Oracle分区表!
- 找到一款不错的网站压力测试工具webbench[原创]