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 test.img 20 21This operation requires a freshly checked filesystem. 22 23Please run e2fsck -fD on the filesystem. 24 25Exit status is 0 26test_filesys was not cleanly unmounted, check forced. 27Pass 1: Checking inodes, blocks, and sizes 28Pass 2: Checking directory structure 29Pass 3: Checking directory connectivity 30Pass 3A: Optimizing directories 31Pass 4: Checking reference counts 32Pass 5: Checking group summary information 33 34 35 36Change in FS metadata: 37@@ -2,7 +2,7 @@ 38 Last mounted on: <not available> 39 Filesystem magic number: 0xEF53 40 Filesystem revision #: 1 (dynamic) 41-Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent 64bit flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize 42+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 43 Default mount options: user_xattr acl 44 Filesystem state: clean 45 Errors behavior: Continue 46@@ -10,7 +10,7 @@ 47 Inode count: 65536 48 Block count: 524288 49 Reserved block count: 26214 50-Free blocks: 571 51+Free blocks: 568 52 Free inodes: 65048 53 First block: 1 54 Block size: 1024 55@@ -33,6 +33,7 @@ 56 Journal inode: 8 57 Default directory hash: half_md4 58 Journal backup: inode blocks 59+Checksum type: crc32c 60 Journal features: (none) 61 Journal size: 16M 62 Journal length: 16384 63@@ -46,8 +47,8 @@ 64 Block bitmap at 262 (+261) 65 Inode bitmap at 278 (+277) 66 Inode table at 294-549 (+293) 67- 21 free blocks, 536 free inodes, 2 directories, 536 unused inodes 68- Free blocks: 4413-4433 69+ 18 free blocks, 536 free inodes, 2 directories, 536 unused inodes 70+ Free blocks: 4413, 4417-4433 71 Free inodes: 489-1024 72 Group 1: (Blocks 8193-16384) [INODE_UNINIT] 73 Backup superblock at 8193, Group descriptors at 8194-8197 74Pass 1: Checking inodes, blocks, and sizes 75Pass 2: Checking directory structure 76Pass 3: Checking directory connectivity 77Pass 4: Checking reference counts 78Pass 5: Checking group summary information 79 80Exit status is 0 81