diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 09:25:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 09:25:10 +0000 |
commit | 5dced3d1b3deca80e01415a2e35dc7972dcbfae7 (patch) | |
tree | 6a403684e0978f0287d7f0ec0e5aab1fd31a59e1 /tests/f_cloneblock_alloc_error | |
parent | Initial commit. (diff) | |
download | e2fsprogs-5dced3d1b3deca80e01415a2e35dc7972dcbfae7.tar.xz e2fsprogs-5dced3d1b3deca80e01415a2e35dc7972dcbfae7.zip |
Adding upstream version 1.47.0.upstream/1.47.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/f_cloneblock_alloc_error')
-rw-r--r-- | tests/f_cloneblock_alloc_error/expect.1 | 36 | ||||
-rw-r--r-- | tests/f_cloneblock_alloc_error/expect.2 | 7 | ||||
-rw-r--r-- | tests/f_cloneblock_alloc_error/image.gz | bin | 0 -> 3441 bytes | |||
-rw-r--r-- | tests/f_cloneblock_alloc_error/name | 1 |
4 files changed, 44 insertions, 0 deletions
diff --git a/tests/f_cloneblock_alloc_error/expect.1 b/tests/f_cloneblock_alloc_error/expect.1 new file mode 100644 index 0000000..24fe1ff --- /dev/null +++ b/tests/f_cloneblock_alloc_error/expect.1 @@ -0,0 +1,36 @@ +Pass 1: Checking inodes, blocks, and sizes +Inode 12, i_size is 0, should be 2015232. 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 13: 8 +Multiply-claimed block(s) in inode 14: 8 +Pass 1C: Scanning directories for inodes with multiply-claimed blocks +Pass 1D: Reconciling multiply-claimed blocks +(There are 2 inodes containing multiply-claimed blocks.) + +File /b (inode #13, mod time Wed Jan 21 03:41:55 2015) + has 1 multiply-claimed block(s), shared with 1 file(s): + /c (inode #14, mod time Wed Jan 21 03:42:37 2015) +Clone multiply-claimed blocks? yes + +clone_file: Could not allocate block in ext2 filesystem returned from clone_file_block +Couldn't clone file: Could not allocate block in ext2 filesystem +Delete file? yes + +File /c (inode #14, mod time Wed Jan 21 03:42:37 2015) + has 1 multiply-claimed block(s), shared with 1 file(s): + /b (inode #13, mod time Wed Jan 21 03:41:55 2015) +Multiply-claimed blocks already reassigned or cloned. + +Pass 2: Checking directory structure +Entry 'b' in / (2) has deleted/unused inode 13. Clear? yes + +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 13/128 files (7.7% non-contiguous), 512/512 blocks +Exit status is 1 diff --git a/tests/f_cloneblock_alloc_error/expect.2 b/tests/f_cloneblock_alloc_error/expect.2 new file mode 100644 index 0000000..f7781ec --- /dev/null +++ b/tests/f_cloneblock_alloc_error/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: 13/128 files (7.7% non-contiguous), 512/512 blocks +Exit status is 0 diff --git a/tests/f_cloneblock_alloc_error/image.gz b/tests/f_cloneblock_alloc_error/image.gz Binary files differnew file mode 100644 index 0000000..ed01df1 --- /dev/null +++ b/tests/f_cloneblock_alloc_error/image.gz diff --git a/tests/f_cloneblock_alloc_error/name b/tests/f_cloneblock_alloc_error/name new file mode 100644 index 0000000..9196e89 --- /dev/null +++ b/tests/f_cloneblock_alloc_error/name @@ -0,0 +1 @@ +decrement badcount after remapping duplicate block |