Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: carlo von lynX <lynX@time.to.get.psyced.org>
To: linux-btrfs@vger.kernel.org
Subject: Impossible to mount two different copies of the same btrfs
Date: Thu, 27 Aug 2015 19:32:29 +0200	[thread overview]
Message-ID: <20150827173229.GA30068@lo.psyced.org> (raw)

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.

This only happens with btrfs - I cannot mount two file systems that
happen to have the same UUID (or are deemed identical by some other
criterion I cannot determine). I presume this is not intended
behavior. I tried relabeling one of the copies, but it didn't have
any effect. Now I'm looking into ways to change the UUID.

Thanks for the great snapshots however!


-- 
  E-mail is public! Talk to me in private using encryption:
         http://loupsycedyglgamf.onion/LynX/
          irc://loupsycedyglgamf.onion:67/lynX
         https://psyced.org:34443/LynX/

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

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-27 17:32 carlo von lynX [this message]
2015-08-27 17:53 ` Impossible to mount two different copies of the same btrfs Chris Murphy
2015-08-27 17:59   ` Hugo Mills
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=20150827173229.GA30068@lo.psyced.org \
    --to=lynx@time.to.get.psyced.org \
    --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