From: Theodore Tso <tytso@mit.edu>
To: Andreas Dilger <adilger@sun.com>
Cc: Christian Ohm <chr.ohm@gmx.net>, linux-ext4@vger.kernel.org
Subject: Re: How to recover a damaged ext4 file system?
Date: Tue, 6 Jan 2009 14:34:04 -0500 [thread overview]
Message-ID: <20090106193404.GA18957@mit.edu> (raw)
In-Reply-To: <20090106120527.GT3932@webber.adilger.int>
On Tue, Jan 06, 2009 at 05:05:27AM -0700, Andreas Dilger wrote:
>
> You should try to run e2fsck with the backup group descriptors, using
> the -B and/or -b options (at a guess -B 4096 and -b 32768).
That probably won't help, given that the fsck transcript already says
this:
> > fsck.ext4: Group descriptors look bad... trying backup blocks...
It looks like both the primary and the backup block group descriptors
are bad. I'm not sure how this happened; normally nothing touches the
backup block superblocks at all. Stupid question --- are you sure the
partition table is sane; that's always the first thing to check.
Can you upload someplace the output of
dumpe2fs /dev/XXX
dumpe2fs -o superblock=32768 /dev/XXX
dumpe2fs -o superblock=98304 /dev/XXX
That would be helpful to see what had happened.
> 2. Is this corruption a fault of ext4? I guess this is difficult to
> answer, but I had ext3 survive any lockups without much problems. So
> far ext4 seems not quite that robust, but perhaps another file
> system would have blown up as well in this situation. Is there any
> information I can give you to help make ext4 more robust?
I'm not sure what the hard system hang did, but it looks like it
splattered a lot of random crap all over the harddrive. I doubt ext4
did this, and I doubt ext3 would have done any better.... we need to
know a lot more about exactly what sort damage was done to the
filesytem to say for certain, though.
- Ted
next prev parent reply other threads:[~2009-01-06 19:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-05 13:53 How to recover a damaged ext4 file system? Christian Ohm
2009-01-06 12:05 ` Andreas Dilger
2009-01-06 19:34 ` Theodore Tso [this message]
2009-01-07 21:42 ` Christian Ohm
2009-01-08 10:11 ` Andreas Dilger
2009-02-07 16:27 ` Christian Ohm
2009-02-07 19:04 ` Eric Sandeen
2009-02-12 21:36 ` Christian Ohm
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=20090106193404.GA18957@mit.edu \
--to=tytso@mit.edu \
--cc=adilger@sun.com \
--cc=chr.ohm@gmx.net \
--cc=linux-ext4@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.