• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1mke2fs -F -o Linux -t ext4 -O ^metadata_csum,^uninit_bg -D $LOOP
2Creating filesystem with 32768 4k blocks and 32768 inodes
3
4Allocating group tables:    done
5Writing inode tables:    done
6Creating journal (4096 blocks): done
7Writing superblocks and filesystem accounting information:    done
8
9debugfs -D -R stats $LOOP
10Filesystem volume name:   <none>
11Last mounted on:          <not available>
12Filesystem magic number:  0xEF53
13Filesystem revision #:    1 (dynamic)
14Filesystem features:      has_journal ext_attr resize_inode dir_index filetype extent flex_bg sparse_super large_file huge_file dir_nlink extra_isize
15Default mount options:    (none)
16Filesystem state:         clean
17Errors behavior:          Continue
18Filesystem OS type:       Linux
19Inode count:              32768
20Block count:              32768
21Reserved block count:     1638
22Overhead clusters:        5131
23Free blocks:              27631
24Free inodes:              32757
25First block:              0
26Block size:               4096
27Fragment size:            4096
28Reserved GDT blocks:      7
29Blocks per group:         32768
30Fragments per group:      32768
31Inodes per group:         32768
32Inode blocks per group:   1024
33Flex block group size:    16
34Mount count:              0
35Check interval:           15552000 (6 months)
36Reserved blocks uid:      0
37Reserved blocks gid:      0
38First inode:              11
39Inode size:	          128
40Journal inode:            8
41Default directory hash:   half_md4
42Journal backup:           inode blocks
43Directories:              2
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
46e2fsck -fn -N test_filesys $LOOP
47Pass 1: Checking inodes, blocks, and sizes
48Pass 2: Checking directory structure
49Pass 3: Checking directory connectivity
50Pass 4: Checking reference counts
51Pass 5: Checking group summary information
52test_filesys: 11/32768 files (9.1% non-contiguous), 5137/32768 blocks
53Exit status is 0
54e2fsck -fn -N test_filesys $TMPFILE
55Pass 1: Checking inodes, blocks, and sizes
56Pass 2: Checking directory structure
57Pass 3: Checking directory connectivity
58Pass 4: Checking reference counts
59Pass 5: Checking group summary information
60test_filesys: 11/32768 files (9.1% non-contiguous), 5137/32768 blocks
61Exit status is 0
62