1 tune2fs dangerous prompts 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 445 huge file(s) with 1024 blocks each: done 10 Writing superblocks and filesystem accounting information: done 11 12 tune2fs -O metadata_csum test.img 13 14 Please run e2fsck -f on the filesystem. 15 16 Exit status is 1 17 tune2fs -O metadata_csum test.img 18 Exit status is 0 19 Creating filesystem with 524288 1k blocks and 65536 inodes 20 Superblock backups stored on blocks: 21 8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409 22 23 Allocating group tables: done 24 Writing inode tables: done 25 Creating journal (16384 blocks): done 26 Creating 445 huge file(s) with 1024 blocks each: done 27 Writing superblocks and filesystem accounting information: done 28 29 Pass 1: Checking inodes, blocks, and sizes 30 Pass 2: Checking directory structure 31 Pass 3: Checking directory connectivity 32 Pass 4: Checking reference counts 33 Pass 5: Checking group summary information 34 35 Exit status is 0 36 tune2fs -O metadata_csum test.img 37 Enabling checksums could take some time. 38 Proceed anyway (or wait 5 seconds) ? (y,n) 39 Exit status is 1 40 tune2fs -I 512 test.img 41 Resizing inodes could take some time. 42 Proceed anyway (or wait 5 seconds) ? (y,n) 43 Exit status is 1 44 tune2fs -U random test.img 45 Setting UUID on a checksummed filesystem could take some time. 46 Proceed anyway (or wait 5 seconds) ? (y,n) 47 Exit status is 1 48 49 Change in FS metadata: 50 Pass 1: Checking inodes, blocks, and sizes 51 Pass 2: Checking directory structure 52 Pass 3: Checking directory connectivity 53 Pass 4: Checking reference counts 54 Pass 5: Checking group summary information 55 56 Exit status is 0 57 tune2fs -O metadata_csum test.img 58 Enabling checksums could take some time. 59 Proceed anyway (or wait 5 seconds) ? (y,n) 60 Please run e2fsck -fD on the filesystem. 61 62 Exit status is 0 63 test_filesys was not cleanly unmounted, check forced. 64 Pass 1: Checking inodes, blocks, and sizes 65 Pass 2: Checking directory structure 66 Pass 3: Checking directory connectivity 67 Pass 3A: Optimizing directories 68 Pass 4: Checking reference counts 69 Pass 5: Checking group summary information 70 71 72 73 tune2fs -I 512 test.img 74 Resizing inodes could take some time. 75 Proceed anyway (or wait 5 seconds) ? (y,n) Setting inode size 512 76 Exit status is 0 77 tune2fs -U f0f0f0f0-f0f0-f0f0-f0f0-f0f0f0f0f0f0 test.img 78 Setting UUID on a checksummed filesystem could take some time. 79 Proceed anyway (or wait 5 seconds) ? (y,n) Exit status is 0 80 Backing up journal inode block information. 81 82 83 Change in FS metadata: 84 @@ -1,3 +1,3 @@ 85 -Filesystem UUID: 6fc3daa4-180d-4f2b-a6f2-f7a5efb79bcf 86 -Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent 64bit sparse_super large_file huge_file uninit_bg dir_nlink extra_isize 87 -Inode size: 256 88 +Filesystem UUID: f0f0f0f0-f0f0-f0f0-f0f0-f0f0f0f0f0f0 89 +Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent 64bit sparse_super large_file huge_file dir_nlink extra_isize metadata_csum 90 +Inode size: 512 91 Pass 1: Checking inodes, blocks, and sizes 92 Pass 2: Checking directory structure 93 Pass 3: Checking directory connectivity 94 Pass 4: Checking reference counts 95 Pass 5: Checking group summary information 96 97 Exit status is 0 98