免费注册 查看新帖 |

Chinaunix

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

[系统管理] 文件系统故障修复求助 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-02-01 17:34 |只看该作者 |倒序浏览
e2fsck 1.39 (29-May-2006)
e2fsck: Bad magic number in super-block while trying to open /dev/sda3

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>


求助高手,怎么处理?

论坛徽章:
3
天秤座
日期:2014-10-29 11:37:572015元宵节徽章
日期:2015-03-06 15:50:39NBA常规赛纪念章
日期:2015-05-04 22:32:03
2 [报告]
发表于 2013-02-01 18:07 |只看该作者
e2fsck -b 8193   /dev/sda3?

论坛徽章:
0
3 [报告]
发表于 2013-02-01 20:36 |只看该作者
这个提示已经尝试了,一样的错误

论坛徽章:
0
4 [报告]
发表于 2013-02-08 20:02 |只看该作者
本帖最后由 xuhainanjing 于 2013-02-08 20:03 编辑

问题解决了么?下面的可能有用

single# mke2fs  -n /dev/sdb1
mke2fs 1.35 (28-Feb-2004)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
1048576 inodes, 2096474 blocks
104823 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2147483648
64 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

论坛徽章:
0
5 [报告]
发表于 2013-02-08 20:41 |只看该作者
这样,让我说的清楚一点:
1. mke2fs -n /dev/sda3, 会输出如上的结果,注意block size 和 superblock backups, 这些参数在恢复的时候要用到。
2 e2fsck -B <block size> -b <superblock> /dev/sda3, 其中superblock就用上面输出的,一个个试试,直到成功。

Good luck.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP