Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Hugo Mills <hugo@carfax.org.uk>
To: Chris Murphy <lists@colorremedies.com>
Cc: carlo von lynX <lynX@time.to.get.psyced.org>,
	Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: Impossible to mount two different copies of the same btrfs
Date: Thu, 27 Aug 2015 17:59:47 +0000	[thread overview]
Message-ID: <20150827175947.GL23769@carfax.org.uk> (raw)
In-Reply-To: <CAJCQCtQx+L1JauS=cC1crPQDpOO+t5SqHAg8Z8Q6K5KPKPW6TQ@mail.gmail.com>

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

On Thu, Aug 27, 2015 at 11:53:28AM -0600, Chris Murphy wrote:
> On Thu, Aug 27, 2015 at 11:32 AM, carlo von lynX
> <lynX@time.to.get.psyced.org> wrote:
> > Hi there. Excuse me if I didn't subscribe the list. Just wanted to
> > let you know of this behavior assuming you haven't noticed it yet.
> >
> > When mounting two copies of the same file system from two different
> > hard disks with the intention of syncing the older with the newer
> > one, btrfs behaves differently from ext4: it will mount the first
> > one twice rather than mounting each. I assume it has something to
> > do with all UUIDs being identical, which doesn't disturb ext4 though.
> 
> I'd say any file system that allows mount without warning when two fs
> volumes with the same UUID is a bug. I vastly prefer the XFS behavior
> in this regard which is warn and refusal to mount. You have to use -o
> nouuid to make it happen; and then I guess there's some separate
> handling to still keep the fs instances separate, but I don't know how
> that works at all or how ext4 and Btrfs differ.

   See my other email in this thread. :)

   Hugo.

-- 
Hugo Mills             | You know... I'm sure this code would seem a lot
hugo@... carfax.org.uk | better if I never tried running it.
http://carfax.org.uk/  |
PGP: E2AB1DE4          |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2015-08-27 17:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-27 17:32 Impossible to mount two different copies of the same btrfs carlo von lynX
2015-08-27 17:53 ` Chris Murphy
2015-08-27 17:59   ` Hugo Mills [this message]
2015-08-27 18:44     ` carlo von lynX
2015-08-27 18:48       ` Hugo Mills
2015-08-27 17:55 ` Hugo Mills

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=20150827175947.GL23769@carfax.org.uk \
    --to=hugo@carfax.org.uk \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=lists@colorremedies.com \
    --cc=lynX@time.to.get.psyced.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