Ext3 journal corruption

Theodore Ts'o tytso at mit.edu
Tue May 17 01:08:26 UTC 2005

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"


More information about the Ext3-users mailing list