From: Travis Cross <tc@travislists.com>
To: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs send kernel error btrfs_compare_tree
Date: Sat, 08 Mar 2014 20:35:16 +0000 [thread overview]
Message-ID: <531B7F04.30908@travislists.com> (raw)
In-Reply-To: <531B6434.1080409@travislists.com>
On 2014-03-08 18:40, Travis Cross wrote:
> Mar 8 18:13:23 kernel: [ 2041.956270] btrfs: btrfs_compare_tree detected a change in one of the trees while iterating. This is probably a bug.
xaba on IRC helpfully encouraged me to run btrfs check on the device.
I receive a flood of messages:
Extent back ref already exists for <x> parent 0 root <y>
Then it pauses for awhile, and starts flooding out:
ref mismatch on [<x> 4096] extent item 1, found 2
Incorrect global backref count on <x> found 1 wanted 2
backpointer mismatch on [<x> 4096]
Then it outputs a comparably fewer lines of:
free space inode generation (0) did not match free space cache generation (<x>)
Finally it outputs:
checking fs roots
And after some time gets killed by the Linux OOM killer. The system
has 4G of memory. The dark irony here is I was trying to btrfs send
the subvolumes off of this disk so I could use it for swap space
because btrfs send operations on other disks were running out of
memory.
The filesystem here was likely created with Linux 3.2 and hasn't seen
much use for awhile, until today I mounted it to try to btrfs send
off those volumes.
xaba noted this could be the result of some 3.2-era kernel bug. He
recognized the messages I was seeing. If this is the case, and this
sort of thing is common, it seems we might want to have a way of
detecting this and trying to salvage the situation (particularly as
Debian wheezy -- the last Debian stable release -- is on a 3.2
kernel).
Either way, I'll wait for a consensus here on how to proceed.
next prev parent reply other threads:[~2014-03-08 20:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-08 18:40 btrfs send kernel error btrfs_compare_tree Travis Cross
2014-03-08 20:35 ` Travis Cross [this message]
2014-03-09 13:55 ` Duncan
2014-03-09 4:26 ` Chris Samuel
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=531B7F04.30908@travislists.com \
--to=tc@travislists.com \
--cc=linux-btrfs@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