From: Drew Reusser <dreusser@gmail.com>
To: "Theodore Ts'o" <tytso@mit.edu>
Cc: Eric Sandeen <sandeen@redhat.com>,
George Spelvin <linux@horizon.com>,
linux-ext4@vger.kernel.org
Subject: Re: Issue with bad file system
Date: Mon, 19 Nov 2012 19:53:13 +0000 [thread overview]
Message-ID: <CAPAnFc-N43cZ44tr5XSLxrgdZgOmQDjSr7b-x8LMxm+5BA8+MA@mail.gmail.com> (raw)
In-Reply-To: <20121119184107.GA29487@thunk.org>
On Mon, Nov 19, 2012 at 6:41 PM, Theodore Ts'o <tytso@mit.edu> wrote:
> 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
Sorry Ted, but that is not working.
mint mnt # debugfs -s 32768 -b 4096 /dev/md0
debugfs 1.42.5 (29-Jul-2012)
/dev/md0: Bad magic number in super-block while opening filesystem
debugfs:
debugfs: ls
ls: Filesystem not open
debugfs:
next prev parent reply other threads:[~2012-11-19 19:53 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
2012-11-19 19:15 ` George Spelvin
2012-11-19 19:36 ` Theodore Ts'o
2012-11-19 19:53 ` Drew Reusser [this message]
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=CAPAnFc-N43cZ44tr5XSLxrgdZgOmQDjSr7b-x8LMxm+5BA8+MA@mail.gmail.com \
--to=dreusser@gmail.com \
--cc=linux-ext4@vger.kernel.org \
--cc=linux@horizon.com \
--cc=sandeen@redhat.com \
--cc=tytso@mit.edu \
/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).