faisalmemon

Untitled

May 13th, 2017
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.30 KB | None | 0 0
  1. ubuntu@ubuntu:~$ sudo fsck /dev/sda2
  2. fsck from util-linux 2.27.1
  3. e2fsck 1.42.13 (17-May-2015)
  4. /dev/sda2 contains a file system with errors, check forced.
  5. Pass 1: Checking inodes, blocks, and sizes
  6. Inodes that were part of a corrupted orphan linked list found.  Fix<y>? yes
  7. Inode 1060186 was part of the orphaned inode list.  FIXED.
  8. Inode 1060191 was part of the orphaned inode list.  FIXED.
  9. Inode 1060193 was part of the orphaned inode list.  FIXED.
  10. Inode 1060200 was part of the orphaned inode list.  FIXED.
  11. Deleted inode 1060223 has zero dtime.  Fix<y>? yes
  12. Pass 2: Checking directory structure
  13. Error reading block 4202608 (Attempt to read block from filesystem resulted in short read) while reading directory block.  Ignore error<y>? yes
  14. Force rewrite<y>? yes
  15. Directory inode 1048767, block #0, offset 0: directory corrupted
  16. Salvage<y>? yes
  17. Missing '.' in directory inode 1048767.
  18. Fix<y>? yes
  19. Setting filetype for entry '.' in ??? (1048767) to 2.
  20. Missing '..' in directory inode 1048767.
  21. Fix<y>? yes
  22. Setting filetype for entry '..' in ??? (1048767) to 2.
  23.  
  24. Pass 3: Checking directory connectivity
  25. '..' in /home/faisal/.cache/logrotate (1048767) is <The NULL inode> (0), should be /home/faisal/.cache (1048583).
  26. Fix<y>? yes
  27. Pass 4: Checking reference counts
  28. Inode 2 ref count is 23, should be 24.  Fix<y>? yes
  29. Inode 1048583 ref count is 19, should be 18.  Fix<y>? yes
  30. Unattached inode 1060211
  31. Connect to /lost+found<y>? yes
  32. Inode 1060211 ref count is 2, should be 1.  Fix<y>? yes
  33. Pass 5: Checking group summary information
  34. Block bitmap differences:  -(79757831--79757834) -(79757837--79757840) -(85494803--85494806) -(85524993--85525000)
  35. Fix<y>? yes
  36. Free blocks count wrong for group #2434 (21451, counted=21459).
  37. Fix<y>? yes
  38. Free blocks count wrong for group #2609 (6147, counted=6151).
  39. Fix<y>? yes
  40. Free blocks count wrong for group #2610 (29311, counted=29319).
  41. Fix<y>? yes
  42. Free blocks count wrong (105800045, counted=105799995).
  43. Fix<y>? yes
  44. Inode bitmap differences:  -1060186 -1060191 -1060193 -1060200 -1060223
  45. Fix<y>? yes
  46. Free inodes count wrong for group #129 (4724, counted=4729).
  47. Fix<y>? yes
  48. Free inodes count wrong (28871737, counted=28871728).
  49. Fix<y>? yes
  50.  
  51. /dev/sda2: ***** FILE SYSTEM WAS MODIFIED *****
  52. /dev/sda2: 578512/29450240 files (0.4% non-contiguous), 11994565/117794560 blocks
Add Comment
Please, Sign In to add comment