All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Kanicky <j@ganomi.com>
To: linux-btrfs@vger.kernel.org
Subject: How to change BTRFS filesystem UUID
Date: Mon, 28 Dec 2015 01:31:26 +1100	[thread overview]
Message-ID: <567FF63E.3010106@ganomi.com> (raw)

Hi,

I cloned several machines from the same disk and they all have same 
BTRFS filesystem UUID. I need to recovery one disk from failure, but if 
I attach two disks to the same machine, both disks have the same ID.

This seem to confuse UDEV, because /dev/disk/by-uuid seem to show just 
one link, not two links to two disks.

Is there a way to change the BTRFS ID (generate new one) that I can 
differentiate between the two disks on one host?

Thank you
Jiri


             reply	other threads:[~2015-12-27 14:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-27 14:31 Jiri Kanicky [this message]
2015-12-27 14:45 ` How to change BTRFS filesystem UUID Hugo Mills
2015-12-27 15:27   ` Jiri Kanicky
2015-12-27 23:01     ` Christoph Anton Mitterer
2015-12-27 23:13       ` Hugo Mills
2015-12-28  1:00         ` Duncan
2015-12-28  2:13         ` Jiri Kanicky
2015-12-28  4:35           ` Duncan
2015-12-27 14:48 ` Holger Hoffstätte

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=567FF63E.3010106@ganomi.com \
    --to=j@ganomi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.