mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Can't recover from broken ext3 journal
@ 2003-03-26  9:30 brian
  2003-04-05  2:49 ` Andreas Dilger
  0 siblings, 1 reply; 2+ messages in thread
From: brian @ 2003-03-26  9:30 UTC (permalink / raw)
  To: linux-kernel


I had a harddrive develop hard IO errors in the section of the drive
that holds the ext3 journal.

If it try to fsck the filesystem, fsck eventually terminates after
trying to replay the journal.

I tried to use debugfs but that fails in similar way.

When I use tune2fs to try to turn off the journal, even with
the -f option, it simply reports 'the needs_recovery flag is
set, please run e2fsck'.

I've replaced the drive and restored from backups, however, it seems
rather poor design that I should lose *all* my data on the drive simply
because the journal won't replay due to an disk error.

The man pages for 'tune2fs' even implies you can use it for
the very purpose of removing a broken journal but it doesn't
work, as I reported above.

I could comment out the check in the tune2fs source code, however, is
there a proper way to do this?

Thanks,

-- 
Brian Litzinger

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-05  2:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-26  9:30 Can't recover from broken ext3 journal brian
2003-04-05  2:49 ` Andreas Dilger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®