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/m_extent_journal | |
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/m_extent_journal')
-rw-r--r-- | tests/m_extent_journal/expect.1 | 118 | ||||
-rw-r--r-- | tests/m_extent_journal/script | 7 |
2 files changed, 125 insertions, 0 deletions
diff --git a/tests/m_extent_journal/expect.1 b/tests/m_extent_journal/expect.1 new file mode 100644 index 0000000..11124e4 --- /dev/null +++ b/tests/m_extent_journal/expect.1 @@ -0,0 +1,118 @@ +Creating filesystem with 65536 1k blocks and 16384 inodes +Superblock backups stored on blocks: + 8193, 24577, 40961, 57345 + +Allocating group tables: done +Writing inode tables: done +Creating journal (4096 blocks): done +Writing superblocks and filesystem accounting information: done + +Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent sparse_super +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/16384 files (0.0% non-contiguous), 9508/65536 blocks +Exit status is 0 +Filesystem volume name: <none> +Last mounted on: <not available> +Filesystem magic number: 0xEF53 +Filesystem revision #: 1 (dynamic) +Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent sparse_super +Default mount options: (none) +Filesystem state: clean +Errors behavior: Continue +Filesystem OS type: Linux +Inode count: 16384 +Block count: 65536 +Reserved block count: 3276 +Overhead clusters: 9494 +Free blocks: 56028 +Free inodes: 16373 +First block: 1 +Block size: 1024 +Fragment size: 1024 +Reserved GDT blocks: 255 +Blocks per group: 8192 +Fragments per group: 8192 +Inodes per group: 2048 +Inode blocks per group: 512 +Mount count: 0 +Check interval: 15552000 (6 months) +Reserved blocks uid: 0 +Reserved blocks gid: 0 +First inode: 11 +Inode size: 256 +Required extra isize: 32 +Desired extra isize: 32 +Journal inode: 8 +Default directory hash: half_md4 +Journal backup: inode blocks +Journal features: (none) +Total journal size: 4096k +Total journal blocks: 4096 +Max transaction length: 4096 +Fast commit length: 0 +Journal sequence: 0x00000001 +Journal start: 0 + + +Group 0: (Blocks 1-8192) + Primary superblock at 1, Group descriptors at 2-2 + Reserved GDT blocks at 3-257 + Block bitmap at 258 (+257), Inode bitmap at 259 (+258) + Inode table at 260-771 (+259) + 7407 free blocks, 2037 free inodes, 2 directories + Free blocks: 786-8192 + Free inodes: 12-2048 +Group 1: (Blocks 8193-16384) + Backup superblock at 8193, Group descriptors at 8194-8194 + Reserved GDT blocks at 8195-8449 + Block bitmap at 8450 (+257), Inode bitmap at 8451 (+258) + Inode table at 8452-8963 (+259) + 7421 free blocks, 2048 free inodes, 0 directories + Free blocks: 8964-16384 + Free inodes: 2049-4096 +Group 2: (Blocks 16385-24576) + Block bitmap at 16385 (+0), Inode bitmap at 16386 (+1) + Inode table at 16387-16898 (+2) + 3582 free blocks, 2048 free inodes, 0 directories + Free blocks: 20995-24576 + Free inodes: 4097-6144 +Group 3: (Blocks 24577-32768) + Backup superblock at 24577, Group descriptors at 24578-24578 + Reserved GDT blocks at 24579-24833 + Block bitmap at 24834 (+257), Inode bitmap at 24835 (+258) + Inode table at 24836-25347 (+259) + 7421 free blocks, 2048 free inodes, 0 directories + Free blocks: 25348-32768 + Free inodes: 6145-8192 +Group 4: (Blocks 32769-40960) + Block bitmap at 32769 (+0), Inode bitmap at 32770 (+1) + Inode table at 32771-33282 (+2) + 7678 free blocks, 2048 free inodes, 0 directories + Free blocks: 33283-40960 + Free inodes: 8193-10240 +Group 5: (Blocks 40961-49152) + Backup superblock at 40961, Group descriptors at 40962-40962 + Reserved GDT blocks at 40963-41217 + Block bitmap at 41218 (+257), Inode bitmap at 41219 (+258) + Inode table at 41220-41731 (+259) + 7421 free blocks, 2048 free inodes, 0 directories + Free blocks: 41732-49152 + Free inodes: 10241-12288 +Group 6: (Blocks 49153-57344) + Block bitmap at 49153 (+0), Inode bitmap at 49154 (+1) + Inode table at 49155-49666 (+2) + 7678 free blocks, 2048 free inodes, 0 directories + Free blocks: 49667-57344 + Free inodes: 12289-14336 +Group 7: (Blocks 57345-65535) + Backup superblock at 57345, Group descriptors at 57346-57346 + Reserved GDT blocks at 57347-57601 + Block bitmap at 57602 (+257), Inode bitmap at 57603 (+258) + Inode table at 57604-58115 (+259) + 7420 free blocks, 2048 free inodes, 0 directories + Free blocks: 58116-65535 + Free inodes: 14337-16384 diff --git a/tests/m_extent_journal/script b/tests/m_extent_journal/script new file mode 100644 index 0000000..efade21 --- /dev/null +++ b/tests/m_extent_journal/script @@ -0,0 +1,7 @@ +DESCRIPTION="extent-mapped journal" +FS_SIZE=65536 +DUMPE2FS_IGNORE_80COL=1 +export DUMPE2FS_IGNORE_80COL +MKE2FS_OPTS="-O extents -j" +. $cmd_dir/run_mke2fs +unset DUMPE2FS_IGNORE_80COL |