xref: /aosp_15_r20/external/e2fsprogs/tests/t_enable_mcsum_ext3/expect (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1tune2fs metadata_csum test
2128-byte inodes cannot handle dates beyond 2038 and are deprecated
3Creating filesystem with 524288 1k blocks and 65536 inodes
4Superblock backups stored on blocks:
5	8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409
6
7Allocating group tables:      done
8Writing inode tables:      done
9Creating journal (16384 blocks): done
10mke2fs: Operation not supported for inodes containing extents while creating huge files
11Writing superblocks and filesystem accounting information:      done
12
13Pass 1: Checking inodes, blocks, and sizes
14Pass 2: Checking directory structure
15Pass 3: Checking directory connectivity
16Pass 4: Checking reference counts
17Pass 5: Checking group summary information
18
19Exit status is 0
20tune2fs -O metadata_csum test.img
21Extents are not enabled.  The file extent tree can be checksummed, whereas block maps cannot.  Not enabling extents reduces the coverage of metadata checksumming.  Re-run with -O extent to rectify.
2264-bit filesystem support is not enabled.  The larger fields afforded by this feature enable full-strength checksumming.  Run resize2fs -b to rectify.
23Exit status is 0
24
25Change in FS metadata:
26@@ -2,7 +2,7 @@
27 Last mounted on:          <not available>
28 Filesystem magic number:  0xEF53
29 Filesystem revision #:    1 (dynamic)
30-Filesystem features:      has_journal ext_attr resize_inode dir_index filetype sparse_super large_file
31+Filesystem features:      has_journal ext_attr resize_inode dir_index filetype sparse_super large_file metadata_csum
32 Default mount options:    user_xattr acl
33 Filesystem state:         clean
34 Errors behavior:          Continue
35@@ -30,6 +30,7 @@
36 Journal inode:            8
37 Default directory hash:   half_md4
38 Journal backup:           inode blocks
39+Checksum type:            crc32c
40 Journal features:         (none)
41 Total journal size:       16M
42 Total journal blocks:     16384
43@@ -39,7 +40,7 @@
44 Journal start:            0
45
46
47-Group 0: (Blocks 1-8192)
48+Group 0: (Blocks 1-8192) [ITABLE_ZEROED]
49   Primary superblock at 1, Group descriptors at 2-3
50   Reserved GDT blocks at 4-259
51   Block bitmap at 260 (+259)
52@@ -48,7 +49,7 @@
53   0 free blocks, 1013 free inodes, 2 directories
54   Free blocks:
55   Free inodes: 12-1024
56-Group 1: (Blocks 8193-16384)
57+Group 1: (Blocks 8193-16384) [ITABLE_ZEROED]
58   Backup superblock at 8193, Group descriptors at 8194-8195
59   Reserved GDT blocks at 8196-8451
60   Block bitmap at 8452 (+259)
61@@ -57,6 +58,6 @@
62   0 free blocks, 1024 free inodes, 0 directories
63   Free blocks:
64   Free inodes: 1025-2048
65-Group 2: (Blocks 16385-24576)
66+Group 2: (Blocks 16385-24576) [ITABLE_ZEROED]
67   Block bitmap at 16385 (+0)
68   Inode bitmap at 16386 (+1)
69Pass 1: Checking inodes, blocks, and sizes
70Pass 2: Checking directory structure
71Pass 3: Checking directory connectivity
72Pass 4: Checking reference counts
73Pass 5: Checking group summary information
74
75Exit status is 0
76