resize2fs test
resize2fs test.img 8M
Resizing the filesystem on test.img to 8192 (1k) blocks.
The filesystem on test.img is now 8192 (1k) blocks long.

Exit status is 0
 
fsck -yf -E fixes_only -N test_filesys test.img
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
test_filesys: 14/2048 files (0.0% non-contiguous), 1445/8192 blocks
Exit status is 0
