Skip to content

Instantly share code, notes, and snippets.

@ishan-marikar
Created September 8, 2015 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ishan-marikar/08f8824c869d2121bfc2 to your computer and use it in GitHub Desktop.
Save ishan-marikar/08f8824c869d2121bfc2 to your computer and use it in GitHub Desktop.
e2fsck -f -y -v /dev/sdb2
Superblock has an invalid journal (inode 8).
Clear? yes
*** ext3 journal has been deleted - filesystem is now ext2 only ***
Superblock has_journal flag is clear, but a journal inode is present.
Clear? yes
Pass 1: Checking inodes, blocks, and sizes
Journal inode is not in use, but contains data. Clear? yes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -(327680--344063)
Fix? yes
Free blocks count wrong for group #10 (9567, counted=25951).
Fix? yes
Free blocks count wrong (241938, counted=258322).
Fix? yes
Recreate journal? yes
Creating journal (16384 blocks): Done.
*** journal has been re-created - filesystem is now ext3 again ***
/dev/sdb2: ***** FILE SYSTEM WAS MODIFIED *****
63979 inodes used (32.61%)
21 non-contiguous files (0.0%)
72 non-contiguous directories (0.1%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 50951/10
542702 blocks used (69.17%)
0 bad blocks
1 large file
46574 regular files
4041 directories
56 character device files
25 block device files
1 fifo
430 links
13273 symbolic links (12927 fast symbolic links)
0 sockets
--------
64400 files
e2fsck 1.42 (29-Nov-2011)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment