linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Anton Mitterer <calestyo@scientia.net>
To: linux-btrfs@vger.kernel.org
Subject: strange corruptions found during btrfs check
Date: Thu, 02 Jul 2015 18:12:08 +0200	[thread overview]
Message-ID: <1435853528.6153.3.camel@scientia.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 9417 bytes --]

Hi.

This is on a btrfs created and used with a 4.0 kernel.

Not much was done on it, apart from send/receive snapshots from another
btrfs (with -p).
Some of the older snapshots (that were used as parents before) have
been removed in the meantime).

Now a btrfs check gives this:
# btrfs check /dev/mapper/image
Checking filesystem on /dev/mapper/data-b
UUID: 250ddae1-7b37-4b22-89e9-4dc5886c810f
checking extents
ref mismatch on [468697088 16384] extent item 0, found 1
Backref 468697088 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [468697088 16384]
owner ref check failed [468697088 16384]
ref mismatch on [1002373120 16384] extent item 0, found 1
Backref 1002373120 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [1002373120 16384]
ref mismatch on [1013940224 16384] extent item 0, found 1
Backref 1013940224 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [1013940224 16384]
ref mismatch on [525281738752 16384] extent item 0, found 1
Backref 525281738752 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [525281738752 16384]
owner ref check failed [525281738752 16384]
ref mismatch on [525317095424 16384] extent item 0, found 1
Backref 525317095424 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [525317095424 16384]
owner ref check failed [525317095424 16384]
ref mismatch on [525404700672 16384] extent item 0, found 1
Backref 525404700672 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [525404700672 16384]
owner ref check failed [525404700672 16384]
ref mismatch on [525438025728 16384] extent item 0, found 1
Backref 525438025728 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [525438025728 16384]
owner ref check failed [525438025728 16384]
ref mismatch on [525554302976 16384] extent item 0, found 1
Backref 525554302976 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [525554302976 16384]
owner ref check failed [525554302976 16384]
ref mismatch on [525585235968 16384] extent item 0, found 1
Backref 525585235968 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [525585235968 16384]
owner ref check failed [525585235968 16384]
ref mismatch on [830810521600 16384] extent item 0, found 1
Backref 830810521600 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [830810521600 16384]
owner ref check failed [830810521600 16384]
ref mismatch on [830895620096 16384] extent item 0, found 1
Backref 830895620096 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [830895620096 16384]
owner ref check failed [830895620096 16384]
ref mismatch on [1038383448064 16384] extent item 0, found 1
Backref 1038383448064 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [1038383448064 16384]
owner ref check failed [1038383448064 16384]
ref mismatch on [1391733161984 16384] extent item 0, found 1
Backref 1391733161984 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [1391733161984 16384]
ref mismatch on [1392008445952 16384] extent item 0, found 1
Backref 1392008445952 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [1392008445952 16384]
ref mismatch on [1392058843136 16384] extent item 0, found 1
Backref 1392058843136 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [1392058843136 16384]
ref mismatch on [1392058925056 16384] extent item 0, found 1
Backref 1392058925056 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [1392058925056 16384]
ref mismatch on [1466625753088 16384] extent item 0, found 1
Backref 1466625753088 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [1466625753088 16384]
owner ref check failed [1466625753088 16384]
ref mismatch on [2857092792320 16384] extent item 0, found 1
Backref 2857092792320 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [2857092792320 16384]
owner ref check failed [2857092792320 16384]
ref mismatch on [2857095610368 16384] extent item 0, found 1
Backref 2857095610368 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [2857095610368 16384]
owner ref check failed [2857095610368 16384]
ref mismatch on [2857125183488 16384] extent item 0, found 1
Backref 2857125183488 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [2857125183488 16384]
owner ref check failed [2857125183488 16384]
ref mismatch on [2857127591936 16384] extent item 0, found 1
Backref 2857127591936 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [2857127591936 16384]
owner ref check failed [2857127591936 16384]
ref mismatch on [2857130393600 16384] extent item 0, found 1
Backref 2857130393600 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [2857130393600 16384]
owner ref check failed [2857130393600 16384]
ref mismatch on [2857138421760 16384] extent item 0, found 1
Backref 2857138421760 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [2857138421760 16384]
owner ref check failed [2857138421760 16384]
ref mismatch on [2857140436992 16384] extent item 0, found 1
Backref 2857140436992 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [2857140436992 16384]
owner ref check failed [2857140436992 16384]
ref mismatch on [2857153970176 16384] extent item 0, found 1
Backref 2857153970176 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [2857153970176 16384]
owner ref check failed [2857153970176 16384]
ref mismatch on [2857155837952 16384] extent item 0, found 1
Backref 2857155837952 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [2857155837952 16384]
owner ref check failed [2857155837952 16384]
ref mismatch on [2857157509120 16384] extent item 0, found 1
Backref 2857157509120 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [2857157509120 16384]
owner ref check failed [2857157509120 16384]
ref mismatch on [2857157836800 16384] extent item 0, found 1
Backref 2857157836800 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [2857157836800 16384]
owner ref check failed [2857157836800 16384]
ref mismatch on [2857160605696 16384] extent item 0, found 1
Backref 2857160605696 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [2857160605696 16384]
owner ref check failed [2857160605696 16384]
ref mismatch on [2857164636160 16384] extent item 0, found 1
Backref 2857164636160 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [2857164636160 16384]
owner ref check failed [2857164636160 16384]
ref mismatch on [2857167716352 16384] extent item 0, found 1
Backref 2857167716352 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [2857167716352 16384]
owner ref check failed [2857167716352 16384]
ref mismatch on [2857168977920 16384] extent item 0, found 1
Backref 2857168977920 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [2857168977920 16384]
owner ref check failed [2857168977920 16384]
ref mismatch on [2857175269376 16384] extent item 0, found 1
Backref 2857175269376 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [2857175269376 16384]
owner ref check failed [2857175269376 16384]
ref mismatch on [2857239904256 16384] extent item 0, found 1
Backref 2857239904256 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [2857239904256 16384]
owner ref check failed [2857239904256 16384]
ref mismatch on [2857241640960 16384] extent item 0, found 1
Backref 2857241640960 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [2857241640960 16384]
owner ref check failed [2857241640960 16384]
ref mismatch on [2857244409856 16384] extent item 0, found 1
Backref 2857244409856 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [2857244409856 16384]
owner ref check failed [2857244409856 16384]
ref mismatch on [3955758170112 16384] extent item 0, found 1
Backref 3955758170112 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [3955758170112 16384]
ref mismatch on [3955758563328 16384] extent item 0, found 1
Backref 3955758563328 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [3955758563328 16384]
owner ref check failed [3955758563328 16384]
ref mismatch on [3955758678016 16384] extent item 0, found 1
Backref 3955758678016 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [3955758678016 16384]
ref mismatch on [4420194156544 16384] extent item 0, found 1
Backref 4420194156544 parent 4159 root 4159 not found in extent tree
backpointer mismatch on [4420194156544 16384]
Errors found in extent allocation tree or chunk allocation
checking free space cache
checking fs roots
checking csums
checking root refs
found 4945849393671 bytes used err is 0
total csum bytes: 4821697620
total tree bytes: 8430518272
total fs tree bytes: 2181136384
total extent tree bytes: 740294656
btree space waste bytes: 955676550
file data blocks allocated: 7672438157312
 referenced 7740136660992
btrfs-progs v4.0


Any ideas?

Cheers,
Chris.

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5313 bytes --]

             reply	other threads:[~2015-07-02 16:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-02 16:12 Christoph Anton Mitterer [this message]
2015-07-06 18:40 ` strange corruptions found during btrfs check Christoph Anton Mitterer
2015-07-07  0:47   ` Duncan
2015-07-07  1:03     ` Christoph Anton Mitterer
2015-07-07  2:08       ` Duncan

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=1435853528.6153.3.camel@scientia.net \
    --to=calestyo@scientia.net \
    --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;
as well as URLs for NNTP newsgroup(s).