ext3 journal illegal block
Running Mandrake 10.1 on a T30 thinkpad.
When I woke up this morning, my system had frozen--no mouse, no keyboard response, clock had stopped, etc. My previous experience has been that the only way to fix this is a hard reboot, which I did. When I rebooted, KDE tried to load (I have it set to load and log in with Gnome), but failed with the message that it could not write to /home. Tried logging in with Gnome, which would just send me back to the login screen. Etc. So I rebooted.
Reboot: Attempts to read the journal for /home, and I'm told that there's a bad superblock, that the journal cannot be read, run fsck to fix, you're being dropped to a shell. fsck /dev/hda6 -v gets:
fsck 1.35 (28-Feb-2004)
e2fsck 1.35 (28-Feb-2004)
fsck.ext3: Illegal block number while checking ext3 journal for /dev/hda6
I tried e2fsck with an alternate block number:
e2fsck -b 8193 /dev/hda6
e2fsck 1.35 (28-Feb-2004)
e2fsck: Bad magic number in super-block while trying to open /dev/hda6
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
I'm running off of a Knoppix disk right now, but can't mount the partion.
What else can I do? At this point, I just want to be able to mount /home to back it up.
EDIT: Having consulted Google some more, it looks as though:
The HD is (probably) dying
The superblock is corrupt
Yes? No? I keep finding people asking the same question(s) that I am, but no answers.
LAST EDIT: Fixed! Steps:
Move HD to a desktop computer with an empty partion large enough to back up /home (mostly for my own peace of mind, as it turns out).
dd_rescue /dev/hdc6 /mnt/kazul/hdc6bak.img (to make the image for backup)
mke2fs -b 4096 -S /dev/hdc6 (to restore the superblocks)
e2fsck -y /dev/hdc6 (to fix the bad inodes and all)
Check that everything is in lost+found
Delete the .img
Copy the contents of /home to the backup partition
Go to sleep
Reassemble laptop in the morning
Thanks to all those who helped! This would have taken me much longer without you!
When I woke up this morning, my system had frozen--no mouse, no keyboard response, clock had stopped, etc. My previous experience has been that the only way to fix this is a hard reboot, which I did. When I rebooted, KDE tried to load (I have it set to load and log in with Gnome), but failed with the message that it could not write to /home. Tried logging in with Gnome, which would just send me back to the login screen. Etc. So I rebooted.
Reboot: Attempts to read the journal for /home, and I'm told that there's a bad superblock, that the journal cannot be read, run fsck to fix, you're being dropped to a shell. fsck /dev/hda6 -v gets:
fsck 1.35 (28-Feb-2004)
e2fsck 1.35 (28-Feb-2004)
fsck.ext3: Illegal block number while checking ext3 journal for /dev/hda6
I tried e2fsck with an alternate block number:
e2fsck -b 8193 /dev/hda6
e2fsck 1.35 (28-Feb-2004)
e2fsck: Bad magic number in super-block while trying to open /dev/hda6
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
I'm running off of a Knoppix disk right now, but can't mount the partion.
What else can I do? At this point, I just want to be able to mount /home to back it up.
EDIT: Having consulted Google some more, it looks as though:
The HD is (probably) dying
The superblock is corrupt
Yes? No? I keep finding people asking the same question(s) that I am, but no answers.
LAST EDIT: Fixed! Steps:
Move HD to a desktop computer with an empty partion large enough to back up /home (mostly for my own peace of mind, as it turns out).
dd_rescue /dev/hdc6 /mnt/kazul/hdc6bak.img (to make the image for backup)
mke2fs -b 4096 -S /dev/hdc6 (to restore the superblocks)
e2fsck -y /dev/hdc6 (to fix the bad inodes and all)
Check that everything is in lost+found
Delete the .img
Copy the contents of /home to the backup partition
Go to sleep
Reassemble laptop in the morning
Thanks to all those who helped! This would have taken me much longer without you!
