Ext3 journal corruption

Anand Tiwari anandtiwari at softhome.net
Tue May 17 02:05:16 UTC 2005


ok, but just curious, if it is not cleanly umounted, mount shouldnt be able
to mount it as ext2fs.

----- Original Message ----- 
From: "Theodore Ts'o" <tytso at mit.edu>
To: <anandtiwari at softhome.net>
Cc: <ext3-users at redhat.com>
Sent: Monday, May 16, 2005 7:08 PM
Subject: Re: Ext3 journal corruption


> On Mon, May 16, 2005 at 05:39:00PM -0600, anandtiwari at softhome.net wrote:
> > Hi all,
> >
> > I was having a ext3 filesystem with writeback. yesterday my system
crashed
> > and now when i try to mount it, it gives me "Invalid argument".
Following
> > is the command line
> > #mount -t ext3 /dev/hda1 /mnt/home
> >
> > i tried debugging it and later i found out, its was complaining about
> > journaling inode. Is there any way to recover my files, i did clone the
> > disk and mounted it as ext2 after few tries but there was nothing in it.
> > any help or pointers will be appreciated,
>
> 1)  Run e2fsck to correct any filesystem errors.  This may remove the
journal inode.
>
> 2)  If it didn't, to be safe, remove the journal:
> "tune2fs -O ^has_journal /dev/hdXX"
>
> 3)  Then recreate the journal:  "tune2fs -j /dev/hdXX"
>
> Ted




More information about the Ext3-users mailing list