From: Robert White <rwhite@pobox.com>
To: Chris Murphy <lists@colorremedies.com>,
Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: Volume/subvolume UUID uniqueness, was: BTRFS messes up snapshot LV with origin
Date: Sat, 22 Nov 2014 14:50:57 -0800 [thread overview]
Message-ID: <54711351.1040208@pobox.com> (raw)
In-Reply-To: <CAJCQCtRPa9fBmvBRt+RLbGy8iSUKq1_=2oZuioTKSaWAieBihQ@mail.gmail.com>
On 11/22/2014 11:52 AM, Chris Murphy wrote:
> I don't know how to fix this but I've convinced myself there's at
> least a small problem. And not just with LVM snapshots as in the
> originating thread.
Yes.
You also run into this problem if you use multipath hardware but haven't
configured multipath support to be transparent.
In any system, when you mix layers of abstraction you get problems.
LVM snapshots make "the same disk blocks" appear in multiple places but
don't actually present "the same disk blocks" since writes to "those
blocks" will cause COW divergence.
This violates the Universally Unique constraint of the UUID promise.
None of these are problems with the respective systems working at their
respective jobs, they are inherent problems with the fact that a servant
can not serve two masters.
As far as the parentage trees of subvolumes... I've been trying to get
_anybody_ on here to recognize the problems already inherent in that
system as implemented. Take a couple snapshots of a subvolume, and then
send those subvolumes to another file system with send/receive, and then
do "btrfs subvolume list -u -q" on the two filesystems and tell me that
mess makes sense. Or try to recreate a subvolume from its snapshot in a
way that doesn't shatter the relationships in your backup scheme. (I'm
researching for a couple patches but I'm not expecting a warm reception
given the silence to date).
So yea, UUID plus copy plus mirror plus snapshot equals a trip to caveat
city.
next prev parent reply other threads:[~2014-11-22 22:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-22 19:52 Volume/subvolume UUID uniqueness, was: BTRFS messes up snapshot LV with origin Chris Murphy
2014-11-22 22:50 ` Robert White [this message]
2014-11-22 22:55 ` Robert White
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=54711351.1040208@pobox.com \
--to=rwhite@pobox.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=lists@colorremedies.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