From: Qu Wenruo <quwenruo.btrfs@gmx.com>
To: Mordechay Kaganer <mkaganer@gmail.com>,
Qu Wenruo <quwenruo@cn.fujitsu.com>
Cc: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: Transaction aborted (error -17) after crash
Date: Wed, 18 Nov 2015 20:28:57 +0800 [thread overview]
Message-ID: <564C6F09.9090400@gmx.com> (raw)
In-Reply-To: <CA+xOVSM6AGLM7B5UGD6EisAGsS8e61dt=FNCV6f7BE8FB9JBsg@mail.gmail.com>
在 2015年11月18日 20:02, Mordechay Kaganer 写道:
> B.H.
>
> On Wed, Nov 18, 2015 at 7:31 AM, Qu Wenruo <quwenruo@cn.fujitsu.com> wrote:
>>
>> Hard to say yet.
>>
>> Is that the only error?
>>
>> And did you tried btrfsck --init-extent-tree alone?
>> Although IIRC --init-extent-tree implies --repair, but it seems that extent
>> tree is not correctly rebuilt at least.
>
> btrfs check --init-extent-tree --repair gives tons of messages like this:
>
> ref mismatch on [1628438528 16384] extent item 0, found 1
> adding new tree backref on start 1628438528 len 16384 parent 0 root 258
> Backref 1628438528 parent 258 root 258 not found in extent tree
> backpointer mismatch on [1628438528 16384]
> ref mismatch on [1628454912 16384] extent item 0, found 1
> adding new tree backref on start 1628454912 len 16384 parent 0 root 7
> Backref 1628454912 parent 7 root 7 not found in extent tree
> backpointer mismatch on [1628454912 16384]
> ref mismatch on [1628471296 16384] extent item 0, found 1
> adding new tree backref on start 1628471296 len 16384 parent 0 root 7
> Backref 1628471296 parent 7 root 7 not found in extent tree
> backpointer mismatch on [1628471296 16384]
> ref mismatch on [1628487680 16384] extent item 0, found 1
> adding new tree backref on start 1628487680 len 16384 parent 0 root 7
> Backref 1628487680 parent 7 root 7 not found in extent tree
> backpointer mismatch on [1628487680 16384]
>
> Anyway, that's only a backup so i think it's better to rebuild it from
> scratch, right?
>
If it's OK for you, then it's OK
BTW, did you run btrfsck *after* --init-extent-tree, *without* --repair?
I think it would be much better to do the last btrfsck.
And if the last one reports no error, and btrfs still hits the same
problem, I think it's time to rebuild the backup....
Thanks,
Qu
prev parent reply other threads:[~2015-11-18 12:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-17 5:12 Transaction aborted (error -17) after crash Mordechay Kaganer
2015-11-18 3:02 ` Qu Wenruo
2015-11-18 5:18 ` Mordechay Kaganer
2015-11-18 5:31 ` Qu Wenruo
2015-11-18 12:02 ` Mordechay Kaganer
2015-11-18 12:28 ` Qu Wenruo [this message]
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=564C6F09.9090400@gmx.com \
--to=quwenruo.btrfs@gmx.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=mkaganer@gmail.com \
--cc=quwenruo@cn.fujitsu.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