首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ext2 fs inode错误

ext2 fs inode错误
EN

Unix & Linux用户
提问于 2013-03-20 14:34:07
回答 1查看 5.7K关注 0票数 3

在执行e2fsck时,我得到了“块位图差异”。卸载该分区后,我执行e2fsck操作。我的问题是:“位图差异”到底是什么?区别是什么对什么?

谢谢!

代码语言:javascript
复制
~ # e2fsck -c /dev/sda1
e2fsck 1.42.5 (29-Jul-2012)
ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /dev/sda1 is mounted.
Checking for bad blocks (read-only test): done
/dev/sda1: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Inode 81738, i_blocks is 16, should be 8.  Fix<y>? yes
Pass 2: Checking directory structure
Entry 'collector_prof.txt' in /etc/idirect (81624) has deleted/unused inode 81762.  Clear<y>? yes
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences:  -(346115--346116)
Fix<y>? yes
Free blocks count wrong for group #10 (32124, counted=32126).
Fix<y>? yes
Free blocks count wrong (435610, counted=435612).
Fix<y>? yes
Inode bitmap differences:  -81762
Fix<y>? yes
Free inodes count wrong for group #10 (7998, counted=7999).
Fix<y>? yes
Free inodes count wrong (121381, counted=121382).
Fix<y>? yes

/dev/sda1: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sda1: 1018/122400 files (0.1% non-contiguous), 53599/489211 blocks
EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2013-03-20 15:58:51

在谷歌上,我发现只有西奥多·左( Theodore Tso )在谈论它:

http://www.redhat.com/archives/ext3-users/2008-October/msg00024.html

其中的有关部分:

代码语言:javascript
复制
This means the filesystem noticed some discrepancy (for example, when
freeing a block, it noticed that the block bitmap already showed the
block as being not in use, which should never happen and indicates
filesystem corruption).

“块位图”仅仅是一种磁盘上的数据结构,表示在特定组中分配了哪些块,哪些没有分配。在此和Theodore的解释之间,我想说,它可能找到了一个inode使用的块,而该块在该块组的位图中没有这样标记。

票数 5
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/68564

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档