From: Robert White <rwhite@pobox.com>
To: Tomasz Chmielewski <tch@virtall.com>, Josef Bacik <jbacik@fb.com>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: 3.18.0: kernel BUG at fs/btrfs/relocation.c:242!
Date: Fri, 12 Dec 2014 13:36:22 -0800 [thread overview]
Message-ID: <548B5FD6.5080306@pobox.com> (raw)
In-Reply-To: <0f30c49c7d208903ef84e31a928e4051@admin.virtall.com>
On 12/12/2014 06:37 AM, Tomasz Chmielewski wrote:
> FYI, still seeing this with 3.18 (scrub passes fine on this filesystem).
>
> # time btrfs balance start /mnt/lxc2
> Segmentation fault
>
> real 322m32.153s
> user 0m0.000s
> sys 16m0.930s
> (...)
> [20306.981773] BTRFS (device sdd1): parent transid verify failed on
> 5568935395328 wanted 70315 found 102416
> [20306.983962] BTRFS (device sdd1): parent transid verify failed on
> 5568935395328 wanted 70315 found 102416
Uh... isn't fixing an invalid transaction id a job for btrfsck? I don't
see anything in linux/fs/btrfs/*.c that would fix this sort of semantic
error, like ever.
I think that this is a case of thing_a points to thing_b and thing_b is
much newer (transaction 102416) than thing_a thinks it should be
(transaction 70315).
In another thread [that was discussing SMART] you talked about replacing
a drive and then needing to do some patching-up of the result because of
drive failures. Is this the same filesystem where that happened? That
kind of work could leave you in this state if thing_a was one of the
damaged bits and the system had to go fall back to an earlier version.
So I'd run a btrfsck from the very recent btrfs-tools package. If it
tells you to run it again with --repair, then do that.
By my reading balance is simply refusing to touch an extent that doesn't
seem to make sense because it can't be sure it wouldn't undermine some
active data if it relocated the block.
next prev parent reply other threads:[~2014-12-12 21:36 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-02 7:27 3.17.0-rc7: kernel BUG at fs/btrfs/relocation.c:931! Tomasz Chmielewski
2014-10-03 18:17 ` Josef Bacik
2014-10-03 22:06 ` Tomasz Chmielewski
2014-10-03 22:09 ` Josef Bacik
2014-10-04 21:47 ` Tomasz Chmielewski
2014-10-04 22:07 ` Josef Bacik
2014-11-25 22:33 ` Tomasz Chmielewski
2014-12-12 14:37 ` 3.18.0: kernel BUG at fs/btrfs/relocation.c:242! Tomasz Chmielewski
2014-12-12 21:36 ` Robert White [this message]
2014-12-12 21:46 ` Tomasz Chmielewski
2014-12-12 22:34 ` Robert White
2014-12-12 22:46 ` Tomasz Chmielewski
2014-12-12 22:58 ` Robert White
2014-12-13 8:16 ` Tomasz Chmielewski
2014-12-13 9:39 ` Robert White
2014-12-13 13:53 ` Tomasz Chmielewski
2014-12-13 20:54 ` Robert White
2014-12-13 21:52 ` Tomasz Chmielewski
2014-12-13 23:56 ` Robert White
2014-12-14 8:45 ` Robert White
2014-12-15 20:07 ` Josef Bacik
2014-12-15 23:27 ` Tomasz Chmielewski
2014-12-19 21:47 ` Josef Bacik
2014-12-19 23:18 ` Tomasz Chmielewski
2014-10-13 15:15 ` 3.17.0-rc7: kernel BUG at fs/btrfs/relocation.c:931! Rich Freeman
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=548B5FD6.5080306@pobox.com \
--to=rwhite@pobox.com \
--cc=jbacik@fb.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=tch@virtall.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).