diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:49:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:49:25 +0000 |
commit | 464df1d5e5ab1322e2dd0a7796939fff1aeefa9a (patch) | |
tree | 6a403684e0978f0287d7f0ec0e5aab1fd31a59e1 /tests/f_ind_inode_collision | |
parent | Initial commit. (diff) | |
download | e2fsprogs-464df1d5e5ab1322e2dd0a7796939fff1aeefa9a.tar.xz e2fsprogs-464df1d5e5ab1322e2dd0a7796939fff1aeefa9a.zip |
Adding upstream version 1.47.0.upstream/1.47.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/f_ind_inode_collision')
-rw-r--r-- | tests/f_ind_inode_collision/expect.1 | 146 | ||||
-rw-r--r-- | tests/f_ind_inode_collision/expect.2 | 7 | ||||
-rw-r--r-- | tests/f_ind_inode_collision/image.gz | bin | 0 -> 2456 bytes | |||
-rw-r--r-- | tests/f_ind_inode_collision/name | 1 |
4 files changed, 154 insertions, 0 deletions
diff --git a/tests/f_ind_inode_collision/expect.1 b/tests/f_ind_inode_collision/expect.1 new file mode 100644 index 0000000..63c128b --- /dev/null +++ b/tests/f_ind_inode_collision/expect.1 @@ -0,0 +1,146 @@ +Pass 1: Checking inodes, blocks, and sizes +Inode 12 block 41 conflicts with critical metadata, skipping block checks. +Inode 12 block 40 conflicts with critical metadata, skipping block checks. +Inode 12 block 34 conflicts with critical metadata, skipping block checks. +Inode 12 block 1 conflicts with critical metadata, skipping block checks. +Inode 12, i_size is 33, should be 25227264. Fix? yes + +Inode 12, i_blocks is 999, should be 184. Fix? yes + + +Running additional passes to resolve blocks claimed by more than one inode... +Pass 1B: Rescanning for multiply-claimed blocks +Multiply-claimed block(s) in inode 2: 3 +Multiply-claimed block(s) in inode 7: 11 +Multiply-claimed block(s) in inode 11: 4--7 +Multiply-claimed block(s) in inode 12: 41 40Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #16877 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #4096 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #196608 for multiply claimed block map + 34 8 3Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #33152 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #4243456 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #65536 for multiply claimed block map + 28 8 11 1Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #16832 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #16384 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #131072 for multiply claimed block map + 28 4--7Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #33206 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #25227264 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529397 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529397 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529397 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #65536 for multiply claimed block map + 28 41Illegal block number passed to ext2fs_test_block_bitmap #1421529397 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #16777215 for multiply claimed block map + 28 +Error while iterating over blocks in inode 12 (pass1b): Illegal indirect block found +Pass 1C: Scanning directories for inodes with multiply-claimed blocks +Pass 1D: Reconciling multiply-claimed blocks +(There are 3 inodes containing multiply-claimed blocks.) + +File / (inode #2, mod time Sat Jan 17 21:16:16 2015) + has 1 multiply-claimed block(s), shared with 1 file(s): + /a (inode #12, mod time Sat Jan 17 21:16:37 2015) +Clone multiply-claimed blocks? yes + +File /lost+found (inode #11, mod time Sat Jan 17 21:16:16 2015) + has 4 multiply-claimed block(s), shared with 1 file(s): + /a (inode #12, mod time Sat Jan 17 21:16:37 2015) +Clone multiply-claimed blocks? yes + +File /a (inode #12, mod time Sat Jan 17 21:16:37 2015) + has 17 multiply-claimed block(s), shared with 4 file(s): + <filesystem metadata> + /lost+found (inode #11, mod time Sat Jan 17 21:16:16 2015) + <The group descriptor inode> (inode #7, mod time Sat Jan 17 21:16:16 2015) + / (inode #2, mod time Sat Jan 17 21:16:16 2015) +Clone multiply-claimed blocks? yes + +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #16877 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #4096 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #196608 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #33152 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #4243456 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #65536 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #16832 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #16384 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #131072 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529376 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #33206 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #25227264 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529397 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529397 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529397 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #65536 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #1421529397 for multiply claimed block map +Illegal block number passed to ext2fs_test_block_bitmap #16777215 for multiply claimed block map +Pass 2: Checking directory structure +Restarting e2fsck from the beginning... +Pass 1: Checking inodes, blocks, and sizes +Inode 12 has illegal block(s). Clear? yes + +Illegal block #1038 (1421529376) in inode 12. CLEARED. +Illegal block #1039 (1421529376) in inode 12. CLEARED. +Illegal block #1040 (1421529376) in inode 12. CLEARED. +Illegal block #1100 (16877) in inode 12. CLEARED. +Illegal block #1101 (4096) in inode 12. CLEARED. +Illegal block #1102 (1421529376) in inode 12. CLEARED. +Illegal block #1103 (1421529376) in inode 12. CLEARED. +Illegal block #1104 (1421529376) in inode 12. CLEARED. +Illegal block #1106 (196608) in inode 12. CLEARED. +Illegal block #1136 (1421529376) in inode 12. CLEARED. +Illegal block #1420 (33152) in inode 12. CLEARED. +Too many illegal blocks in inode 12. +Clear inode? yes + +Restarting e2fsck from the beginning... +Pass 1: Checking inodes, blocks, and sizes +Pass 2: Checking directory structure +Entry 'a' in / (2) has deleted/unused inode 12. Clear? yes + +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information +Block bitmap differences: -(3--7) -(15--17) -(19--24) +Fix? yes + +Inode bitmap differences: -12 +Fix? yes + +Free inodes count wrong for group #0 (116, counted=117). +Fix? yes + +Free inodes count wrong (116, counted=117). +Fix? yes + + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 11/128 files (9.1% non-contiguous), 18/512 blocks +Exit status is 1 diff --git a/tests/f_ind_inode_collision/expect.2 b/tests/f_ind_inode_collision/expect.2 new file mode 100644 index 0000000..d0a6dac --- /dev/null +++ b/tests/f_ind_inode_collision/expect.2 @@ -0,0 +1,7 @@ +Pass 1: Checking inodes, blocks, and sizes +Pass 2: Checking directory structure +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information +test_filesys: 11/128 files (9.1% non-contiguous), 18/512 blocks +Exit status is 0 diff --git a/tests/f_ind_inode_collision/image.gz b/tests/f_ind_inode_collision/image.gz Binary files differnew file mode 100644 index 0000000..924d220 --- /dev/null +++ b/tests/f_ind_inode_collision/image.gz diff --git a/tests/f_ind_inode_collision/name b/tests/f_ind_inode_collision/name new file mode 100644 index 0000000..11feee3 --- /dev/null +++ b/tests/f_ind_inode_collision/name @@ -0,0 +1 @@ +multiple *ind collisions with critical metadata |