LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Ext3 corrupted on Fedora Core 5 (https://www.linuxquestions.org/questions/linux-general-1/ext3-corrupted-on-fedora-core-5-a-435855/)

UltimaGuy 04-17-2006 01:02 AM

Ext3 corrupted on Fedora Core 5
 
Hi,

Today when I tried to boot into my FC5, I got a msg that Ext3 failed to read block. So I booted into FC4 :) and tried to do an e2fsck of that partition. Following is the output that I got ...

Code:

[root@test ~]# e2fsck /dev/hda2
e2fsck 1.37 (21-Mar-2005)
/1: recovering journal
/1: Attempt to read block from filesystem resulted in short read while reading block 7127

JBD: Failed to read block at offset 5156
e2fsck: Input/output error while recovering ext3 journal of /1

Any suggestion on whether how to get back my FC5??? :rolleyes:

Simon Bridge 04-17-2006 02:27 AM

I take it that /dev/hda2 is not mounted?
You could do: e2fsck -pv /dev/hda2 ... but if the journal is corrupt...
There is always debugfs(8)

UltimaGuy 04-17-2006 11:25 AM

Thanks for the reply. But I solved the problem....

While e2fsck didn't work, I mounted the partition in FC4, and when I did e2fsck again ... it didn't show any problems ... so booted back into FC5 which is working again :-)

And yes, /dev/hda2 is not mounted before doing e2fsck.


All times are GMT -5. The time now is 02:47 AM.