From: Andreas Dilger <adilger@clusterfs.com>
To: Brian Litzinger <brian@localhost.localdomain>,
linux-kernel@vger.kernel.org
Subject: Re: Can't recover from broken ext3 journal
Date: Fri, 4 Apr 2003 19:49:02 -0700 [thread overview]
Message-ID: <20030404194902.D1422@schatzie.adilger.int> (raw)
In-Reply-To: <20030326093027.GA14108@localhost.localdomain>; from brian@worldcontrol.com on Wed, Mar 26, 2003 at 01:30:27AM -0800
On Mar 26, 2003 01:30 -0800, brian@worldcontrol.com wrote:
> 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.
debugfs -w -R "feature ^has_journal ^needs_recovery" /dev/whatever
e2fsck -f /dev/whatever
Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/
prev parent reply other threads:[~2003-04-05 2:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-26 9:30 brian
2003-04-05 2:49 ` Andreas Dilger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030404194902.D1422@schatzie.adilger.int \
--to=adilger@clusterfs.com \
--cc=brian@localhost.localdomain \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®