1 mke2fs -F -b 4096 -o Linux -t ext4 -O ^metadata_csum,^uninit_bg -D $LOOP
2 Creating filesystem with 32768 4k blocks and 32768 inodes
4 Allocating group tables:
\b\b\bdone
5 Writing inode tables:
\b\b\bdone
6 Creating journal (4096 blocks): done
7 Writing superblocks and filesystem accounting information:
\b\b\bdone
9 debugfs -D -R stats $LOOP
10 Filesystem volume name: <none>
11 Last mounted on: <not available>
12 Filesystem magic number: 0xEF53
13 Filesystem revision #: 1 (dynamic)
14 Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent flex_bg sparse_super large_file huge_file dir_nlink extra_isize
15 Default mount options: (none)
16 Filesystem state: clean
17 Errors behavior: Continue
18 Filesystem OS type: Linux
21 Reserved block count: 1638
22 Overhead clusters: 6155
28 Reserved GDT blocks: 7
29 Blocks per group: 32768
30 Fragments per group: 32768
31 Inodes per group: 32768
32 Inode blocks per group: 2048
33 Flex block group size: 16
35 Check interval: 15552000 (6 months)
36 Reserved blocks uid: 0
37 Reserved blocks gid: 0
40 Required extra isize: 32
41 Desired extra isize: 32
43 Default directory hash: half_md4
44 Journal backup: inode blocks
46 Group 0: block bitmap at 9, inode bitmap at 25, inode table at 41
47 26607 free blocks, 32757 free inodes, 2 used directories
48 e2fsck -fn -N test_filesys $LOOP
49 Pass 1: Checking inodes, blocks, and sizes
50 Pass 2: Checking directory structure
51 Pass 3: Checking directory connectivity
52 Pass 4: Checking reference counts
53 Pass 5: Checking group summary information
54 test_filesys: 11/32768 files (9.1% non-contiguous), 6161/32768 blocks
56 e2fsck -fn -N test_filesys $TMPFILE
57 Pass 1: Checking inodes, blocks, and sizes
58 Pass 2: Checking directory structure
59 Pass 3: Checking directory connectivity
60 Pass 4: Checking reference counts
61 Pass 5: Checking group summary information
62 test_filesys: 11/32768 files (9.1% non-contiguous), 6161/32768 blocks