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