1tune2fs ^metadata_csum test
2Creating filesystem with 524288 1k blocks and 65536 inodes
3Superblock backups stored on blocks:
4	8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409
5
6Allocating group tables:      done
7Writing inode tables:      done
8Creating journal (16384 blocks): done
9Creating 477 huge file(s) with 1024 blocks each: done
10Writing superblocks and filesystem accounting information:      done
11
12Pass 1: Checking inodes, blocks, and sizes
13Pass 2: Checking directory structure
14Pass 3: Checking directory connectivity
15Pass 4: Checking reference counts
16Pass 5: Checking group summary information
17
18Exit status is 0
19tune2fs -O ^metadata_csum,^uninit_bg test.img
20Exit status is 0
21Change in FS metadata:
22@@ -2,7 +2,7 @@
23 Last mounted on:          <not available>
24 Filesystem magic number:  0xEF53
25 Filesystem revision #:    1 (dynamic)
26-Filesystem features:      has_journal ext_attr resize_inode dir_index filetype extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum
27+Filesystem features:      has_journal ext_attr resize_inode dir_index filetype extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize
28 Default mount options:    user_xattr acl
29 Filesystem state:         clean
30 Errors behavior:          Continue
31@@ -33,7 +33,6 @@
32 Journal inode:            8
33 Default directory hash:   half_md4
34 Journal backup:           inode blocks
35-Checksum type:            crc32c
36 Journal features:         (none)
37 Journal size:             16M
38 Journal length:           16384
39@@ -47,18 +46,18 @@
40   Block bitmap at 262 (+261)
41   Inode bitmap at 278 (+277)
42   Inode table at 294-549 (+293)
43-  21 free blocks, 536 free inodes, 2 directories, 536 unused inodes
44+  21 free blocks, 536 free inodes, 2 directories
45   Free blocks: 4413-4433
46   Free inodes: 489-1024
47-Group 1: (Blocks 8193-16384) [INODE_UNINIT]
48+Group 1: (Blocks 8193-16384)
49   Backup superblock at 8193, Group descriptors at 8194-8197
50   Reserved GDT blocks at 8198-8453
51   Block bitmap at 263 (bg #0 + 262)
52   Inode bitmap at 279 (bg #0 + 278)
53   Inode table at 550-805 (bg #0 + 549)
54-  0 free blocks, 1024 free inodes, 0 directories, 1024 unused inodes
55+  0 free blocks, 1024 free inodes, 0 directories
56   Free blocks:
57   Free inodes: 1025-2048
58-Group 2: (Blocks 16385-24576) [INODE_UNINIT]
59+Group 2: (Blocks 16385-24576)
60   Block bitmap at 264 (bg #0 + 263)
61   Inode bitmap at 280 (bg #0 + 279)
62Pass 1: Checking inodes, blocks, and sizes
63Pass 2: Checking directory structure
64Pass 3: Checking directory connectivity
65Pass 4: Checking reference counts
66Pass 5: Checking group summary information
67
68Exit status is 0
69