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