Advertisement
ivotkl

2012.12.20 fsck

Dec 19th, 2012
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.82 KB | None | 0 0
  1. $ fsck /var
  2. fsck from util-linux 2.20.1
  3. e2fsck 1.42 (29-Nov-2011)
  4. fsck.ext2: Is a directory while trying to open /var
  5.  
  6. The superblock could not be read or does not describe a correct ext2
  7. filesystem.  If the device is valid and it really contains an ext2
  8. filesystem (and not swap or ufs or something else), then the superblock
  9. is corrupt, and you might try running e2fsck with an alternate superblock:
  10.     e2fsck -b 8193 <device>
  11.  
  12. #Comment created on pastebin. So, i decided to try e2fsck:
  13. $ e2fsck /var
  14. e2fsck 1.42 (29-Nov-2011)
  15. e2fsck: Is a directory while trying to open /var
  16.  
  17. The superblock could not be read or does not describe a correct ext2
  18. filesystem.  If the device is valid and it really contains an ext2
  19. filesystem (and not swap or ufs or something else), then the superblock
  20. is corrupt, and you might try running e2fsck with an alternate superblock:
  21.     e2fsck -b 8193 <device>
  22.  
  23. #I also applied sudo to see what happened:
  24. $ sudo fsck /var
  25. [sudo] password for ivan:
  26. fsck from util-linux 2.20.1
  27. e2fsck 1.42 (29-Nov-2011)
  28. fsck.ext2: Is a directory while trying to open /var
  29.  
  30. The superblock could not be read or does not describe a correct ext2
  31. filesystem.  If the device is valid and it really contains an ext2
  32. filesystem (and not swap or ufs or something else), then the superblock
  33. is corrupt, and you might try running e2fsck with an alternate superblock:
  34.     e2fsck -b 8193 <device>
  35.  
  36. #And sudo e2fsck:
  37. $ sudo e2fsck /var
  38. e2fsck 1.42 (29-Nov-2011)
  39. e2fsck: Is a directory while trying to open /var
  40.  
  41. The superblock could not be read or does not describe a correct ext2
  42. filesystem.  If the device is valid and it really contains an ext2
  43. filesystem (and not swap or ufs or something else), then the superblock
  44. is corrupt, and you might try running e2fsck with an alternate superblock:
  45.     e2fsck -b 8193 <device>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement