From: josh@joshtriplett.org
To: Lukas Czerner <lczerner@redhat.com>,
tytso@mit.edu, linux-kernel@vger.kernel.org
Subject: Nature of ext4 corruption fixed by recent patch?
Date: Mon, 18 May 2015 15:58:24 -0700 [thread overview]
Message-ID: <20150518225824.GA21502@cloud> (raw)
Hi,
I recently had my server's filesystem implode, and I'm currently in the
process of cleaning it up. It had widespread corruption in files and
directories scattered across the filesystem, though all vaguely recently
changed. Directories appeared corrupted or truncated, various files
showed up as piles of NULs, and 5000+ files and directories ended up in
lost+found. I observed this corruption shortly after a reboot into
4.0.2 (from a previous kernel of 3.16), with ext4 noticing an
inconsistency and mounting the filesystem read-only. The underling
disks had no errors.
Reading about the corruption issue fixed by
d2dc317d564a46dfc683978a2e5a4f91434e9711 ("ext4: fix data corruption
caused by unwritten and delayed extents"), it sounds plausible. Can
that strike both file data and directory data, assuming all of that data
ended up grouped with a delayed extent? Would that bug manifest as
corrupted directories and files filled with NULs? The system is a
72-way server on which I was doing piles of parallel git pulls and
builds, so hitting a race seems plausible.
I'm trying to track down potential causes of this so that I can feel
comfortable trusting that system again.
Thanks,
Josh Triplett
next reply other threads:[~2015-05-18 22:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-18 22:58 josh [this message]
2015-05-19 13:40 ` Nature of ext4 corruption fixed by recent patch? Theodore Ts'o
2015-05-19 16:37 ` Josh Triplett
2015-05-19 17:50 ` Theodore Ts'o
2015-05-20 22:50 ` josh
2015-05-21 1:23 ` Henrique de Moraes Holschuh
2015-05-21 3:24 ` Josh Triplett
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=20150518225824.GA21502@cloud \
--to=josh@joshtriplett.org \
--cc=lczerner@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--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