linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Anton Mitterer <calestyo@scientia.net>
To: Zach Fuller <conicawd@gmail.com>
Cc: Duncan <1i5t5.duncan@cox.net>,
	linux-btrfs@vger.kernel.org, covici@ccs.covici.com
Subject: Re: Btrfs Check - "type mismatch with chunk"
Date: Tue, 29 Dec 2015 05:42:00 +0100	[thread overview]
Message-ID: <1451364120.7094.29.camel@scientia.net> (raw)
In-Reply-To: <CACRRrm-MteDcXSg10npqHLA6ZzGHfDM-ByxyvR19npaNuS3t-A@mail.gmail.com>

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

On Mon, 2015-12-28 at 18:08 -0600, Zach Fuller wrote:
> I ran "btrfs check --repair" again on the drive, and no "type
> mismatch
> with chunk" errors were returned.
You should always be very conservative in using --repair...
AFAIU, it *may* do more bad than good,... often the best idea is to
either wait till some developer encourages you do try it or as a last
resort...

If you do have backups, than I'd suggest now is the time you start to
diff your precious data, to find out whether anything may have been
corrupted.


> I then mounted the drive, ran "du -s", unmounted the drive again, and
> ran "btrfs check" one more time to see if any errors remained:
> 
> 
> $ sudo btrfs check  /dev/sdc1 2>&1 | tee check2.txt
> checking extents
> checking free space cache
> Wanted bytes 737280, found 1245184 for off 5683961462784
> Wanted bytes 536870912, found 1245184 for off 5683961462784
> cache appears valid but isnt 5683961462784
> Checking filesystem on /dev/sdc1
> UUID: 1a160f37-7206-43f9-9285-6217ee97a665
> found 1681690084900 bytes used err is -22

> I'm not sure what the output of the above check means, but there are
> certainly less errors than before. Should I be worried about these
> "free space cache" errors?
Well it does seems as if something would still not be as it should...
:-/

So my recommendation would be... (unless someone more senior on the
list has a better advise)... backup your current data, compare it with
previous backups,... and start with a fresh filesystem... or at least
that's what I personally would do - but I'm uber careful, and others
would maybe just continue with the fs as is, as long as it doesn't show
severe problems during usage.


Cheers,
Chris.

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

  parent reply	other threads:[~2015-12-29  4:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-24 19:15 Btrfs Check - "type mismatch with chunk" Zach Fuller
2015-12-24 21:27 ` Christoph Anton Mitterer
2015-12-24 23:41 ` Duncan
2015-12-25  5:28   ` covici
2015-12-25  8:06     ` Duncan
2016-01-02  5:12       ` Christoph Anton Mitterer
2016-01-05 15:34         ` Duncan
2016-01-05 18:54           ` Christoph Anton Mitterer
2016-01-05 19:01           ` Martin Steigerwald
2015-12-27  4:01   ` Christoph Anton Mitterer
2015-12-29  0:08     ` Zach Fuller
2015-12-29  4:16       ` Duncan
2015-12-29  4:42       ` Christoph Anton Mitterer [this message]
2016-01-02 10:48   ` Martin Steigerwald
2016-01-02 19:52     ` Henk Slager

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=1451364120.7094.29.camel@scientia.net \
    --to=calestyo@scientia.net \
    --cc=1i5t5.duncan@cox.net \
    --cc=conicawd@gmail.com \
    --cc=covici@ccs.covici.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;
as well as URLs for NNTP newsgroup(s).