1mke2fs -q -F -o Linux -b 1024 -i 1024 -E stride=8192 -t ext4 test.img 1024000 2resize2fs -p test.img 10240000 3Resizing the filesystem on test.img to 100000000 (1k) blocks. 4Begin pass 2 (max = 2062) 5Relocating blocks ----------------------------------------XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 6Begin pass 3 (max = 125) 7Scanning inode table ----------------------------------------XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 8Begin pass 5 (max = 5) 9Moving inode table ----------------------------------------XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 10The filesystem on test.img is now 99999745 (1k) blocks long. 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 17test_filesys: 11/99999744 files (0.0% non-contiguous), 25048026/99999745 blocks 18Exit status is 0 19dumpe2fs -h test.img 20Filesystem volume name: <none> 21Last mounted on: <not available> 22Filesystem magic number: 0xEF53 23Filesystem revision #: 1 (dynamic) 24Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent flex_bg sparse_super huge_file uninit_bg dir_nlink extra_isize 25Default mount options: (none) 26Filesystem state: clean 27Errors behavior: Continue 28Filesystem OS type: Linux 29Inode count: 99999744 30Block count: 99999745 31Reserved block count: 4999987 32Free blocks: 74951719 33Free inodes: 99999733 34First block: 1 35Block size: 1024 36Fragment size: 1024 37Blocks per group: 8192 38Fragments per group: 8192 39Inodes per group: 8192 40Inode blocks per group: 2048 41RAID stride: 8192 42Flex block group size: 16 43Mount count: 0 44Check interval: 15552000 (6 months) 45Reserved blocks uid: 0 46Reserved blocks gid: 0 47First inode: 11 48Inode size: 256 49Required extra isize: 32 50Desired extra isize: 32 51Journal inode: 8 52Default directory hash: half_md4 53Journal backup: inode blocks 54Journal features: (none) 55Journal size: 16M 56Journal length: 16384 57Journal sequence: 0x00000001 58Journal start: 0 59 60