Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ubuntu@ubuntu:~$ sudo fsck /dev/sda2
- fsck from util-linux 2.27.1
- e2fsck 1.42.13 (17-May-2015)
- /dev/sda2 contains a file system with errors, check forced.
- Pass 1: Checking inodes, blocks, and sizes
- Inodes that were part of a corrupted orphan linked list found. Fix<y>? yes
- Inode 1060186 was part of the orphaned inode list. FIXED.
- Inode 1060191 was part of the orphaned inode list. FIXED.
- Inode 1060193 was part of the orphaned inode list. FIXED.
- Inode 1060200 was part of the orphaned inode list. FIXED.
- Deleted inode 1060223 has zero dtime. Fix<y>? yes
- Pass 2: Checking directory structure
- Error reading block 4202608 (Attempt to read block from filesystem resulted in short read) while reading directory block. Ignore error<y>? yes
- Force rewrite<y>? yes
- Directory inode 1048767, block #0, offset 0: directory corrupted
- Salvage<y>? yes
- Missing '.' in directory inode 1048767.
- Fix<y>? yes
- Setting filetype for entry '.' in ??? (1048767) to 2.
- Missing '..' in directory inode 1048767.
- Fix<y>? yes
- Setting filetype for entry '..' in ??? (1048767) to 2.
- Pass 3: Checking directory connectivity
- '..' in /home/faisal/.cache/logrotate (1048767) is <The NULL inode> (0), should be /home/faisal/.cache (1048583).
- Fix<y>? yes
- Pass 4: Checking reference counts
- Inode 2 ref count is 23, should be 24. Fix<y>? yes
- Inode 1048583 ref count is 19, should be 18. Fix<y>? yes
- Unattached inode 1060211
- Connect to /lost+found<y>? yes
- Inode 1060211 ref count is 2, should be 1. Fix<y>? yes
- Pass 5: Checking group summary information
- Block bitmap differences: -(79757831--79757834) -(79757837--79757840) -(85494803--85494806) -(85524993--85525000)
- Fix<y>? yes
- Free blocks count wrong for group #2434 (21451, counted=21459).
- Fix<y>? yes
- Free blocks count wrong for group #2609 (6147, counted=6151).
- Fix<y>? yes
- Free blocks count wrong for group #2610 (29311, counted=29319).
- Fix<y>? yes
- Free blocks count wrong (105800045, counted=105799995).
- Fix<y>? yes
- Inode bitmap differences: -1060186 -1060191 -1060193 -1060200 -1060223
- Fix<y>? yes
- Free inodes count wrong for group #129 (4724, counted=4729).
- Fix<y>? yes
- Free inodes count wrong (28871737, counted=28871728).
- Fix<y>? yes
- /dev/sda2: ***** FILE SYSTEM WAS MODIFIED *****
- /dev/sda2: 578512/29450240 files (0.4% non-contiguous), 11994565/117794560 blocks
Add Comment
Please, Sign In to add comment