nicomachus@nicomachus-Inspiron-N5110:~$ sudo fsck.ext4 -v /dev/sdb1
e2fsck 1.42.9 (4-Feb-2014)
ext2fs_check_desc: Corrupt group descriptor: bad block for block bitmap
fsck.ext4: Group descriptors look bad... trying backup blocks...
fsck.ext4: Bad magic number in super-block while using the backup blocksfsck.ext4: going back to original superblock
Superblock has an invalid journal (inode 8).
Clear<y>? yes
*** ext3 journal has been deleted - filesystem is now ext2 only ***
The filesystem size (according to the superblock) is 244190208 blocks
The physical size of the device is 62208 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>? yes
/dev/sdb1: ***** FILE SYSTEM WAS MODIFIED *****
nicomachus@nicomachus-Inspiron-N5110:~$
nicomachus@nicomachus-Inspiron-N5110:~$ sudo mke2fs -n /dev/sdb1
mke2fs 1.42.9 (4-Feb-2014)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
62248 inodes, 248832 blocks
12441 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67371008
31 block groups
8192 blocks per group, 8192 fragments per group
2008 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185
nicomachus@nicomachus-Inspiron-N5110:~$ sudo e2fsck -b 8193 /dev/sdb1
e2fsck 1.42.9 (4-Feb-2014)
/dev/sdb1 was not cleanly unmounted, check forced.
Resize inode not valid. Recreate<y>? yes
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
Free blocks count wrong for group #0 (7666, counted=7528).
Fix<y>? yes
Free blocks count wrong for group #4 (7939, counted=7004).
Fix<y>? yes
Free blocks count wrong for group #5 (7681, counted=5343).
Fix<y>? yes
Free blocks count wrong for group #6 (7939, counted=6106).
Fix<y>? yes
Free blocks count wrong for group #7 (7681, counted=7185).
Fix<y>? yes
Free blocks count wrong for group #8 (7939, counted=2307).
Fix<y>? yes
Free blocks count wrong for group #9 (7681, counted=1537).
Fix<y>? yes
Free blocks count wrong for group #10 (7939, counted=1795).
Fix<y>? yes
Free blocks count wrong for group #11 (7939, counted=1795).
Fix<y>? yes
Free blocks count wrong for group #12 (7939, counted=1847).
Fix<y>? yes
Free blocks count wrong for group #16 (7939, counted=7443).
Fix<y>? yes
Free blocks count wrong for group #19 (7939, counted=7427).
Fix<y>? yes
Free blocks count wrong for group #20 (7939, counted=4423).
Fix<y>? yes
Free blocks count wrong for group #21 (7939, counted=2007).
Fix<y>? yes
Free blocks count wrong for group #22 (7939, counted=6614).
Fix<y>? yes
Free blocks count wrong for group #26 (7939, counted=6103).
Fix<y>? yes
Free blocks count wrong for group #27 (7681, counted=7619).
Fix<y>? yes
Free blocks count wrong (238909, counted=189334).
Fix<y>? yes
Free inodes count wrong for group #0 (1997, counted=1989).
Fix<y>? yes
Free inodes count wrong for group #26 (2008, counted=1723).
Fix<y>? yes
Directories count wrong for group #26 (0, counted=4).
Fix<y>? yes
Free inodes count wrong for group #27 (2008, counted=2006).
Fix<y>? yes
Directories count wrong for group #27 (0, counted=2).
Fix<y>? yes
Free inodes count wrong (62237, counted=61942).
Fix<y>? yes
/dev/sdb1: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sdb1: 306/62248 files (16.0% non-contiguous), 59498/248832 blocks