From: Eric Sandeen <sandeen@redhat.com>
To: Daniel Taylor <Daniel.Taylor@wdc.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: breaking ext4 to test recovery
Date: Tue, 29 Mar 2011 17:33:11 -0500 [thread overview]
Message-ID: <4D925E27.6010309@redhat.com> (raw)
In-Reply-To: <25B374CC0D9DFB4698BB331F82CD0CF20D61BC@wdscexbe08.sc.wdc.com>
On 3/29/11 5:26 PM, Daniel Taylor wrote:
> Thanks for the suggestions. Tao Ma's got me started, but doing some
> of the more "devious" tests is on my list, too.
>
> The original issue was that during component stress testing, we were
> seeing instances of the ext4 file system becoming "read-only" (showing
> in /proc/mounts, but not "mount"). Looking back through the logs, we
> saw that at mount time, there was a complaint about a corrupted journal.
So, did it go "read-only" right at mount time due to a journal replay
failure? Or ...
> Some writing had occurred before the change to read-only, however.
That makes it sound like it did get mounted ok... and then something
went wrong? What did the logs say?
> The original mount script didn't check for any "mount" return value, so
> we theorized that ext4 just got to a point where it couldn't sensibly
> handle any more changes.
I'm not sure what that means, TBH :)
Just want to make sure you're barking up the right tree, here ...
-Eric
> It seemed that the right answer was to check the return value from mount
> and, if non-0, umount the file system, fix it, and try again. To test
> the return value from mount, I need to be able to corrupt, but not
> destroy the journal, since the component tests were taking days to show
> the failure.
>
> Running an "fsck -f" every time on a 3TB file system with an embedded
> PPC was just taking too much time to impose on a consumer-level customer.
next prev parent reply other threads:[~2011-03-29 22:33 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-29 2:45 breaking ext4 to test recovery Daniel Taylor
2011-03-29 3:10 ` Tao Ma
2011-03-29 13:50 ` Eric Sandeen
2011-03-29 14:33 ` Rogier Wolff
2011-03-29 17:33 ` Greg Freemyer
2011-03-29 22:26 ` Daniel Taylor
2011-03-29 22:33 ` Eric Sandeen [this message]
2011-03-31 22:11 ` Andreas Dilger
2011-03-31 22:22 ` Andreas Dilger
2011-03-31 22:21 ` Andreas Dilger
2011-03-31 22:44 ` Eric Sandeen
2011-04-01 15:26 ` Lukas Czerner
2011-04-01 15:52 ` Ric Wheeler
2011-04-02 2:15 ` Andreas Dilger
2011-04-02 12:38 ` Ric Wheeler
2011-04-02 18:50 ` Andreas Dilger
2011-04-03 2:37 ` Tao Ma
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=4D925E27.6010309@redhat.com \
--to=sandeen@redhat.com \
--cc=Daniel.Taylor@wdc.com \
--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 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).