1 mke2fs -F -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: 5131
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: 1024
33 Flex block group size: 16
35 Check interval: 15552000 (6 months)
36 Reserved blocks uid: 0
37 Reserved blocks gid: 0
41 Default directory hash: half_md4
42 Journal backup: inode blocks
44 Group 0: block bitmap at 9, inode bitmap at 25, inode table at 41
45 27631 free blocks, 32757 free inodes, 2 used directories
46 e2fsck -fn -N test_filesys $LOOP
47 Pass 1: Checking inodes, blocks, and sizes
48 Pass 2: Checking directory structure
49 Pass 3: Checking directory connectivity
50 Pass 4: Checking reference counts
51 Pass 5: Checking group summary information
52 test_filesys: 11/32768 files (9.1% non-contiguous), 5137/32768 blocks
54 e2fsck -fn -N test_filesys $TMPFILE
55 Pass 1: Checking inodes, blocks, and sizes
56 Pass 2: Checking directory structure
57 Pass 3: Checking directory connectivity
58 Pass 4: Checking reference counts
59 Pass 5: Checking group summary information
60 test_filesys: 11/32768 files (9.1% non-contiguous), 5137/32768 blocks