ext2 fs inode 오류

ext2 fs inode 오류

e2fsck를 실행할 때 "Block Bitmap Difference" 메시지가 나타납니다. 파티션을 마운트 해제한 후 e2fsck를 실행합니다. 내 질문은: "비트맵 차이"란 정확히 무엇입니까? 차이점은 무엇과 무엇입니까?

감사합니다!

~ # 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

답변1

인터넷 검색 결과 Theodore Tso 외에는 이 문제에 관해 이야기하는 사람이 아무도 없었습니다.

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

관련 부품:

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에 의해 사용되는 블록을 발견했을 가능성이 있다고 말하고 싶습니다.

관련 정보