From: Theodore Ts'o <tytso@mit.edu>
To: Eric Sandeen <sandeen@redhat.com>
Cc: Drew Reusser <dreusser@gmail.com>,
George Spelvin <linux@horizon.com>,
linux-ext4@vger.kernel.org
Subject: Re: Issue with bad file system
Date: Mon, 19 Nov 2012 13:41:07 -0500 [thread overview]
Message-ID: <20121119184107.GA29487@thunk.org> (raw)
In-Reply-To: <50AA6913.2090104@redhat.com>
One of the things you could to verify that in fact the RAID array is
sane is to run the following command:
debugfs -s 32768 -b 4096 /dev/md0
Then you can examine the file system via the debugfs commands "cd",
"ls", "cat", "dump" (or even "rdump", although that's more interesting
recovery operations). I would suggest looking at a number of
directories and make sure they look as you expect them, and that you
try dumping out a few files and making sure that they are
uncorrecpted.
If the majority of the files you look at look sane, then it should be
safe to let e2fsck recover the file system from the backup superblock.
In the future, we'll be able to use the metadata checksum feature to
automate this process (as well as being able to more gracefully and
automatically handle inode table blocks written to the wrong location
on disk, overwriting other inode table blocks) --- but a bit more
testing is needed before I'd recommend it for regular users. (In
particular, I want to make sure that random journal corruptions are
handled correctly when the metadata checksum feature is enabled ---
before we start having more enthusiastic users try out bleeding edge
features on production file systems....)
Regards,
- Ted
next prev parent reply other threads:[~2012-11-19 18:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-19 6:30 Issue with bad file system George Spelvin
2012-11-19 7:23 ` Drew Reusser
2012-11-19 8:32 ` George Spelvin
2012-11-19 15:29 ` Eric Sandeen
2012-11-19 17:00 ` Drew Reusser
2012-11-19 16:57 ` Drew Reusser
2012-11-19 17:14 ` Eric Sandeen
2012-11-19 18:41 ` Theodore Ts'o [this message]
2012-11-19 19:15 ` George Spelvin
2012-11-19 19:36 ` Theodore Ts'o
2012-11-19 19:53 ` Drew Reusser
2012-11-19 20:24 ` Theodore Ts'o
2012-11-19 19:54 ` Drew Reusser
2012-11-19 21:15 ` George Spelvin
2012-11-19 21:30 ` Eric Sandeen
-- strict thread matches above, loose matches on Subject: below --
2012-11-19 4:46 Drew Reusser
2012-11-19 15:18 ` Eric Sandeen
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=20121119184107.GA29487@thunk.org \
--to=tytso@mit.edu \
--cc=dreusser@gmail.com \
--cc=linux-ext4@vger.kernel.org \
--cc=linux@horizon.com \
--cc=sandeen@redhat.com \
/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;
as well as URLs for NNTP newsgroup(s).