1 tune2fs metadata_csum test 2 Creating filesystem with 524288 1k blocks and 65536 inodes 3 Superblock backups stored on blocks: 4 8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409 5 6 Allocating group tables: done 7 Writing inode tables: done 8 Creating journal (16384 blocks): done 9 Creating 477 huge file(s) with 1024 blocks each: done 10 Writing superblocks and filesystem accounting information: done 11 12 Pass 1: Checking inodes, blocks, and sizes 13 Pass 2: Checking directory structure 14 Pass 3: Checking directory connectivity 15 Pass 4: Checking reference counts 16 Pass 5: Checking group summary information 17 18 Exit status is 0 19 tune2fs -O metadata_csum test.img 20 21 This operation requires a freshly checked filesystem. 22 23 Please run e2fsck -fD on the filesystem. 24 25 Exit status is 0 26 test_filesys was not cleanly unmounted, check forced. 27 Pass 1: Checking inodes, blocks, and sizes 28 Pass 2: Checking directory structure 29 Pass 3: Checking directory connectivity 30 Pass 3A: Optimizing directories 31 Pass 4: Checking reference counts 32 Pass 5: Checking group summary information 33 34 35 36 Change 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 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 @@ -40,24 +41,24 @@ 64 Journal start: 0 65 66 67 -Group 0: (Blocks 1-8192) 68 +Group 0: (Blocks 1-8192) [ITABLE_ZEROED] 69 Primary superblock at 1, Group descriptors at 2-5 70 Reserved GDT blocks at 6-261 71 Block bitmap at 262 (+261) 72 Inode bitmap at 278 (+277) 73 Inode table at 294-549 (+293) 74 - 21 free blocks, 536 free inodes, 2 directories 75 - Free blocks: 4413-4433 76 + 18 free blocks, 536 free inodes, 2 directories, 536 unused inodes 77 + Free blocks: 4413, 4417-4433 78 Free inodes: 489-1024 79 -Group 1: (Blocks 8193-16384) 80 +Group 1: (Blocks 8193-16384) [INODE_UNINIT, ITABLE_ZEROED] 81 Backup superblock at 8193, Group descriptors at 8194-8197 82 Reserved GDT blocks at 8198-8453 83 Block bitmap at 263 (bg #0 + 262) 84 Inode bitmap at 279 (bg #0 + 278) 85 Inode table at 550-805 (bg #0 + 549) 86 - 0 free blocks, 1024 free inodes, 0 directories 87 + 0 free blocks, 1024 free inodes, 0 directories, 1024 unused inodes 88 Free blocks: 89 Free inodes: 1025-2048 90 -Group 2: (Blocks 16385-24576) 91 +Group 2: (Blocks 16385-24576) [INODE_UNINIT, ITABLE_ZEROED] 92 Block bitmap at 264 (bg #0 + 263) 93 Inode bitmap at 280 (bg #0 + 279) 94 Pass 1: Checking inodes, blocks, and sizes 95 Pass 2: Checking directory structure 96 Pass 3: Checking directory connectivity 97 Pass 4: Checking reference counts 98 Pass 5: Checking group summary information 99 100 Exit status is 0 101