linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Anton Mitterer <calestyo@scientia.net>
To: Duncan <1i5t5.duncan@cox.net>, linux-btrfs@vger.kernel.org
Subject: Re: strange corruptions found during btrfs check
Date: Tue, 07 Jul 2015 03:03:25 +0200	[thread overview]
Message-ID: <1436231005.7124.44.camel@scientia.net> (raw)
In-Reply-To: <pan$a2365$d81c3521$a3dbaee4$237d0b1c@cox.net>

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

On Tue, 2015-07-07 at 00:47 +0000, Duncan wrote:
> The interaction between send/receive and subvolumes/snapshots
> is also a problem, but again, not so much on the subvolume/snapshot 
> side, as on the send/receive side.

Well I haven't looked into any code, so the following is just
perception:
It seemed that send/receive itself has always worked correctly for me
so far.
I.e. I ran some complete diff -qr over the source and target of an
already incrementally (-p) sent/received snapshot.
That brought no error.

The aforementioned btrfs check errors only occurred after I had removed
older snapshots on the receiving side, i.e. snapshots that btrfs, via
the -p <same-old-snapshot-on-the-send-side>, used for building together
the more recent snapshot.

The error messages seem to imply that some of that got lost,... or at
least that would be my first wild guess... as if refs in the newer
snapshot on the receiving side point into the void, as the older
snapshot's objects, they were pointing to, have been removed (or some
of them lost).



Apart from that, I think it's quite an issue that the core developers
don't keep some well maintained list of working/experimental
features... that's nearly as problematic as the complete lack of good
and extensive end user (i.e. sysadmin) documentation.
btrfs is quite long around now, and people start using it... but when
they cannot really tell what's stable and what's not (respectively
which parts of e.g. raid56 still need polishing) and they then stumble
over problems, trust into btrfs is easily lost. :(

Cheers,
Chris.

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

  reply	other threads:[~2015-07-07  1:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-02 16:12 strange corruptions found during btrfs check Christoph Anton Mitterer
2015-07-06 18:40 ` Christoph Anton Mitterer
2015-07-07  0:47   ` Duncan
2015-07-07  1:03     ` Christoph Anton Mitterer [this message]
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=1436231005.7124.44.camel@scientia.net \
    --to=calestyo@scientia.net \
    --cc=1i5t5.duncan@cox.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).