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 21Please run e2fsck -fD on the filesystem. 22 23Exit status is 0 24test_filesys was not cleanly unmounted, check forced. 25Pass 1: Checking inodes, blocks, and sizes 26Pass 2: Checking directory structure 27Pass 3: Checking directory connectivity 28Pass 3A: Optimizing directories 29Pass 4: Checking reference counts 30Pass 5: Checking group summary information 31 32 33 34Change in FS metadata: 35@@ -2,7 +2,7 @@ 36 Last mounted on: <not available> 37 Filesystem magic number: 0xEF53 38 Filesystem revision #: 1 (dynamic) 39-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 40+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 41 Default mount options: user_xattr acl 42 Filesystem state: clean 43 Errors behavior: Continue 44@@ -10,7 +10,7 @@ 45 Inode count: 65536 46 Block count: 524288 47 Reserved block count: 26214 48-Free blocks: 571 49+Free blocks: 568 50 Free inodes: 65048 51 First block: 1 52 Block size: 1024 53@@ -33,6 +33,7 @@ 54 Journal inode: 8 55 Default directory hash: half_md4 56 Journal backup: inode blocks 57+Checksum type: crc32c 58 Journal features: (none) 59 Journal size: 16M 60 Journal length: 16384 61@@ -40,24 +41,24 @@ 62 Journal start: 0 63 64 65-Group 0: (Blocks 1-8192) 66+Group 0: (Blocks 1-8192) [ITABLE_ZEROED] 67 Primary superblock at 1, Group descriptors at 2-5 68 Reserved GDT blocks at 6-261 69 Block bitmap at 262 (+261) 70 Inode bitmap at 278 (+277) 71 Inode table at 294-549 (+293) 72- 21 free blocks, 536 free inodes, 2 directories 73- Free blocks: 4413-4433 74+ 18 free blocks, 536 free inodes, 2 directories, 536 unused inodes 75+ Free blocks: 4413, 4417-4433 76 Free inodes: 489-1024 77-Group 1: (Blocks 8193-16384) 78+Group 1: (Blocks 8193-16384) [INODE_UNINIT, ITABLE_ZEROED] 79 Backup superblock at 8193, Group descriptors at 8194-8197 80 Reserved GDT blocks at 8198-8453 81 Block bitmap at 263 (bg #0 + 262) 82 Inode bitmap at 279 (bg #0 + 278) 83 Inode table at 550-805 (bg #0 + 549) 84- 0 free blocks, 1024 free inodes, 0 directories 85+ 0 free blocks, 1024 free inodes, 0 directories, 1024 unused inodes 86 Free blocks: 87 Free inodes: 1025-2048 88-Group 2: (Blocks 16385-24576) 89+Group 2: (Blocks 16385-24576) [INODE_UNINIT, ITABLE_ZEROED] 90 Block bitmap at 264 (bg #0 + 263) 91 Inode bitmap at 280 (bg #0 + 279) 92Pass 1: Checking inodes, blocks, and sizes 93Pass 2: Checking directory structure 94Pass 3: Checking directory connectivity 95Pass 4: Checking reference counts 96Pass 5: Checking group summary information 97 98Exit status is 0 99