Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _______________________________________
- / Grief can take care of itself; but to \
- | get the full value of a joy you must |
- | have somebody to divide it with. |
- | |
- \ -- Mark Twain /
- ---------------------------------------
- \
- \
- ___
- {~._.~}
- ( Y )
- ()~*~()
- (_)-(_)
- varun@varun-laptop ~ $ sudo e2fsck -c /dev/sdxX
- [sudo] password for varun:
- e2fsck 1.41.11 (14-Mar-2010)
- e2fsck: No such file or directory while trying to open /dev/sdxX
- The superblock could not be read or does not describe a correct ext2
- filesystem. If the device is valid and it really contains an ext2
- filesystem (and not swap or ufs or something else), then the superblock
- is corrupt, and you might try running e2fsck with an alternate superblock:
- e2fsck -b 8193 <device>
- varun@varun-laptop ~ $ sudo e2fsck -c /dev/sda2
- e2fsck 1.41.11 (14-Mar-2010)
- e2fsck: Superblock invalid, trying backup blocks...
- e2fsck: Bad magic number in super-block while trying to open /dev/sda2
- The superblock could not be read or does not describe a correct ext2
- filesystem. If the device is valid and it really contains an ext2
- filesystem (and not swap or ufs or something else), then the superblock
- is corrupt, and you might try running e2fsck with an alternate superblock:
- e2fsck -b 8193 <device>
- varun@varun-laptop ~ $ sudo e2fsck -c /dev/sda3
- e2fsck 1.41.11 (14-Mar-2010)
- /dev/sda3 is mounted.
- WARNING!!! The filesystem is mounted. If you continue you ***WILL***
- cause ***SEVERE*** filesystem damage.
- Do you really want to continue (y/n)? yes
- /dev/sda3: recovering journal
- Clearing orphaned inode 786141 (uid=1000, gid=1000, mode=0100600, size=112)
- Clearing orphaned inode 786123 (uid=1000, gid=1000, mode=0100600, size=371)
- Clearing orphaned inode 150021 (uid=1000, gid=1000, mode=0100644, size=40960)
- Clearing orphaned inode 147366 (uid=1000, gid=1000, mode=0100600, size=24576)
- Checking for bad blocks (read-only test): done
- /dev/sda3: Updating bad block inode.
- Pass 1: Checking inodes, blocks, and sizes
- Inodes that were part of a corrupted orphan linked list found. Fix<y>?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement