e2fsprogs/tests/f_dup_ba/expect.1
Darrick J. Wong 28b966d7c6 e2fsck: print runs of duplicate blocks instead of all of them
When pass1 finds blocks that are mapped to multiple files, it will
print every duplicated block.  If there are long sequences of
duplicate blocks (e.g. the e_pblk field is wrong in an extent), this
can cause a gigantic flood of output when a range could convey the
same information.  Therefore, teach pass1b to print ranges when
possible.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2014-03-15 12:12:37 -04:00

70 lines
2.6 KiB
Groff

Pass 1: Checking inodes, blocks, and sizes
Inode 16, i_size is 8192, should be 409600. Fix? yes
Inode 16, i_blocks is 128, should be 896. Fix? yes
Running additional passes to resolve blocks claimed by more than one inode...
Pass 1B: Rescanning for multiply-claimed blocks
Multiply-claimed block(s) in inode 16: 160--239
Multiply-claimed block(s) in inode 17: 160--161
Multiply-claimed block(s) in inode 18: 176--177
Multiply-claimed block(s) in inode 19: 192--193
Multiply-claimed block(s) in inode 20: 208--209
Multiply-claimed block(s) in inode 21: 224--225
Pass 1C: Scanning directories for inodes with multiply-claimed blocks
Pass 1D: Reconciling multiply-claimed blocks
(There are 6 inodes containing multiply-claimed blocks.)
File /5 (inode #16, mod time Sun Nov 27 04:39:31 2011)
has 5 multiply-claimed block(s), shared with 5 file(s):
/10 (inode #21, mod time Sun Nov 27 04:39:36 2011)
/9 (inode #20, mod time Sun Nov 27 04:39:35 2011)
/8 (inode #19, mod time Sun Nov 27 04:39:34 2011)
/7 (inode #18, mod time Sun Nov 27 04:39:33 2011)
/6 (inode #17, mod time Sun Nov 27 04:39:32 2011)
Clone multiply-claimed blocks? yes
File /6 (inode #17, mod time Sun Nov 27 04:39:32 2011)
has 1 multiply-claimed block(s), shared with 1 file(s):
/5 (inode #16, mod time Sun Nov 27 04:39:31 2011)
Multiply-claimed blocks already reassigned or cloned.
File /7 (inode #18, mod time Sun Nov 27 04:39:33 2011)
has 1 multiply-claimed block(s), shared with 1 file(s):
/5 (inode #16, mod time Sun Nov 27 04:39:31 2011)
Multiply-claimed blocks already reassigned or cloned.
File /8 (inode #19, mod time Sun Nov 27 04:39:34 2011)
has 1 multiply-claimed block(s), shared with 1 file(s):
/5 (inode #16, mod time Sun Nov 27 04:39:31 2011)
Multiply-claimed blocks already reassigned or cloned.
File /9 (inode #20, mod time Sun Nov 27 04:39:35 2011)
has 1 multiply-claimed block(s), shared with 1 file(s):
/5 (inode #16, mod time Sun Nov 27 04:39:31 2011)
Multiply-claimed blocks already reassigned or cloned.
File /10 (inode #21, mod time Sun Nov 27 04:39:36 2011)
has 1 multiply-claimed block(s), shared with 1 file(s):
/5 (inode #16, mod time Sun Nov 27 04:39:31 2011)
Multiply-claimed blocks already reassigned or cloned.
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: +240
Fix? yes
Free blocks count wrong for group #0 (49, counted=43).
Fix? yes
Free blocks count wrong (784, counted=688).
Fix? yes
test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
test_filesys: 21/64 files (0.0% non-contiguous), 336/1024 blocks
Exit status is 1