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.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html