]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blob - tests/t_dangerous/expect
tune2fs: explain why an fsck is needed
[thirdparty/e2fsprogs.git] / tests / t_dangerous / expect
1 tune2fs dangerous prompts test
2 Creating filesystem with 524288 1k blocks and 65536 inodes
3 Superblock backups stored on blocks:
4 8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409
5
6 Allocating group tables: \b\b\b\b\bdone
7 Writing inode tables: \b\b\b\b\bdone
8 Creating journal (16384 blocks): done
9 Creating 445 huge file(s) with 1024 blocks each: done
10 Writing superblocks and filesystem accounting information: \b\b\b\b\bdone
11
12 tune2fs -O metadata_csum test.img
13
14 This operation requires a freshly checked filesystem.
15
16 Please run e2fsck -f on the filesystem.
17
18 Exit status is 1
19 tune2fs -O metadata_csum test.img
20 Exit status is 0
21 Creating filesystem with 524288 1k blocks and 65536 inodes
22 Superblock backups stored on blocks:
23 8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409
24
25 Allocating group tables: \b\b\b\b\bdone
26 Writing inode tables: \b\b\b\b\bdone
27 Creating journal (16384 blocks): done
28 Creating 445 huge file(s) with 1024 blocks each: done
29 Writing superblocks and filesystem accounting information: \b\b\b\b\bdone
30
31 Pass 1: Checking inodes, blocks, and sizes
32 Pass 2: Checking directory structure
33 Pass 3: Checking directory connectivity
34 Pass 4: Checking reference counts
35 Pass 5: Checking group summary information
36
37 Exit status is 0
38 tune2fs -O metadata_csum test.img
39 Enabling checksums could take some time.
40 Proceed anyway (or wait 5 seconds) ? (y,N)
41 Exit status is 1
42 tune2fs -I 512 test.img
43 Resizing inodes could take some time.
44 Proceed anyway (or wait 5 seconds) ? (y,N)
45 Exit status is 1
46 tune2fs -U random test.img
47 Setting UUID on a checksummed filesystem could take some time.
48 Proceed anyway (or wait 5 seconds) ? (y,N)
49 Exit status is 1
50
51 Change in FS metadata:
52 Pass 1: Checking inodes, blocks, and sizes
53 Pass 2: Checking directory structure
54 Pass 3: Checking directory connectivity
55 Pass 4: Checking reference counts
56 Pass 5: Checking group summary information
57
58 Exit status is 0
59 tune2fs -O metadata_csum test.img
60 Enabling checksums could take some time.
61 Proceed anyway (or wait 5 seconds) ? (y,N)
62 This operation requires a freshly checked filesystem.
63
64 Please run e2fsck -fD on the filesystem.
65
66 Exit status is 0
67 test_filesys was not cleanly unmounted, check forced.
68 Pass 1: Checking inodes, blocks, and sizes
69 Pass 2: Checking directory structure
70 Pass 3: Checking directory connectivity
71 Pass 3A: Optimizing directories
72 Pass 4: Checking reference counts
73 Pass 5: Checking group summary information
74
75
76
77 tune2fs -I 512 test.img
78 Resizing inodes could take some time.
79 Proceed anyway (or wait 5 seconds) ? (y,N) Setting inode size 512
80 Exit status is 0
81 tune2fs -U f0f0f0f0-f0f0-f0f0-f0f0-f0f0f0f0f0f0 test.img
82 Setting UUID on a checksummed filesystem could take some time.
83 Proceed anyway (or wait 5 seconds) ? (y,N) Exit status is 0
84 Backing up journal inode block information.
85
86
87 Change in FS metadata:
88 @@ -1,3 +1,3 @@
89 -Filesystem UUID: 6fc3daa4-180d-4f2b-a6f2-f7a5efb79bcf
90 -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
91 -Inode size: 256
92 +Filesystem UUID: f0f0f0f0-f0f0-f0f0-f0f0-f0f0f0f0f0f0
93 +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
94 +Inode size: 512
95 Pass 1: Checking inodes, blocks, and sizes
96 Pass 2: Checking directory structure
97 Pass 3: Checking directory connectivity
98 Pass 4: Checking reference counts
99 Pass 5: Checking group summary information
100
101 Exit status is 0