]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blob - tests/t_dangerous/expect
tune2fs: fix false warning that a UUID change will take a long time
[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 to proceed) ? (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 to proceed) ? (y,N)
45 Exit status is 1
46
47 Change in FS metadata:
48 Pass 1: Checking inodes, blocks, and sizes
49 Pass 2: Checking directory structure
50 Pass 3: Checking directory connectivity
51 Pass 4: Checking reference counts
52 Pass 5: Checking group summary information
53
54 Exit status is 0
55 tune2fs -O metadata_csum test.img
56 Enabling checksums could take some time.
57 Proceed anyway (or wait 5 seconds to proceed) ? (y,N)
58 This operation requires a freshly checked filesystem.
59
60 Please run e2fsck -fD on the filesystem.
61
62 Exit status is 0
63 test_filesys was not cleanly unmounted, check forced.
64 Pass 1: Checking inodes, blocks, and sizes
65 Pass 2: Checking directory structure
66 Pass 3: Checking directory connectivity
67 Pass 3A: Optimizing directories
68 Pass 4: Checking reference counts
69 Pass 5: Checking group summary information
70
71
72
73 tune2fs -I 512 test.img
74 Resizing inodes could take some time.
75 Proceed anyway (or wait 5 seconds to proceed) ? (y,N) Setting inode size 512
76 Exit status is 0
77 tune2fs -U f0f0f0f0-f0f0-f0f0-f0f0-f0f0f0f0f0f0 test.img
78 Setting the UUID on this filesystem could take some time.
79 Proceed anyway (or wait 5 seconds to proceed) ? (y,N) Exit status is 0
80 Backing up journal inode block information.
81
82
83 Change in FS metadata:
84 @@ -1,3 +1,3 @@
85 -Filesystem UUID: 6fc3daa4-180d-4f2b-a6f2-f7a5efb79bcf
86 -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
87 -Inode size: 256
88 +Filesystem UUID: f0f0f0f0-f0f0-f0f0-f0f0-f0f0f0f0f0f0
89 +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
90 +Inode size: 512
91 Pass 1: Checking inodes, blocks, and sizes
92 Pass 2: Checking directory structure
93 Pass 3: Checking directory connectivity
94 Pass 4: Checking reference counts
95 Pass 5: Checking group summary information
96
97 Exit status is 0
98
99 Testing with metadata checksum enabled
100 Creating filesystem with 524288 1k blocks and 65536 inodes
101 Superblock backups stored on blocks:
102 8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409
103
104 Allocating group tables: \b\b\b\b\bdone
105 Writing inode tables: \b\b\b\b\bdone
106 Creating journal (16384 blocks): done
107 Creating 445 huge file(s) with 1024 blocks each: done
108 Writing superblocks and filesystem accounting information: \b\b\b\b\bdone
109
110 Pass 1: Checking inodes, blocks, and sizes
111 Pass 2: Checking directory structure
112 Pass 3: Checking directory connectivity
113 Pass 4: Checking reference counts
114 Pass 5: Checking group summary information
115
116 Exit status is 0
117 tune2fs -U random test.img
118 Setting the UUID on this filesystem could take some time.
119 Proceed anyway (or wait 5 seconds to proceed) ? (y,N)
120 Exit status is 1