e2fsprogs/tests/f_lotsbad/expect.1
Theodore Ts'o da307041e7 Check for inodes which are too big (either too many blocks, or
would cause i_size to be too big), and offer to truncate the inode.
Remove old bogus i_size checks.

Add test case which tests e2fsck's handling of large sparse files.
Older e2fsck with the old(er) bogus i_size checks didn't handle
this correctly.
2002-05-21 21:19:14 -04:00

62 lines
1.8 KiB
Groff

Filesystem did not have a UUID; generating one.
Pass 1: Checking inodes, blocks, and sizes
Inode 13 is too big. Truncate? yes
Block #16580876 (74) causes directory to be too big. CLEARED.
Inode 13, i_size is 15360, should be 12288. Fix? yes
Inode 13, i_blocks is 32, should be 30. Fix? yes
Inode 12 has illegal block(s). Clear? yes
Illegal block #12 (778398818) in inode 12. CLEARED.
Illegal block #13 (1768444960) in inode 12. CLEARED.
Illegal block #14 (1752375411) in inode 12. CLEARED.
Illegal block #15 (1684829551) in inode 12. CLEARED.
Illegal block #16 (1886349344) in inode 12. CLEARED.
Illegal block #17 (1819633253) in inode 12. CLEARED.
Illegal block #18 (1663072620) in inode 12. CLEARED.
Illegal block #19 (1735287144) in inode 12. CLEARED.
Illegal block #20 (1310731877) in inode 12. CLEARED.
Illegal block #21 (560297071) in inode 12. CLEARED.
Illegal block #22 (543512352) in inode 12. CLEARED.
Too many illegal blocks in inode 12.
Clear inode? yes
Restarting e2fsck from the beginning...
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Entry 'termcap' in / (2) has deleted/unused inode 12. Clear? yes
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Inode 2 ref count is 5, should be 4. Fix? yes
Pass 5: Checking group summary information
Block bitmap differences: -(27--41) -(44--45) -(74--90)
Fix? yes
Free blocks count wrong for group #0 (9, counted=43).
Fix? yes
Free blocks count wrong (9, counted=43).
Fix? yes
Inode bitmap differences: -12 -14
Fix? yes
Free inodes count wrong for group #0 (18, counted=20).
Fix? yes
Directories count wrong for group #0 (4, counted=3).
Fix? yes
Free inodes count wrong (18, counted=20).
Fix? yes
test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
test_filesys: 12/32 files (0.0% non-contiguous), 57/100 blocks
Exit status is 1