All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Holger Hoffstätte" <holger.hoffstaette@googlemail.com>
To: Jiri Kanicky <j@ganomi.com>, linux-btrfs@vger.kernel.org
Subject: Re: How to change BTRFS filesystem UUID
Date: Sun, 27 Dec 2015 15:48:06 +0100	[thread overview]
Message-ID: <567FFA26.9070101@googlemail.com> (raw)
In-Reply-To: <567FF63E.3010106@ganomi.com>

On 12/27/15 15:31, Jiri Kanicky wrote:
> Is there a way to change the BTRFS ID (generate new one) that I can
> differentiate between the two disks on one host?

btrfstune:

    -u
       Change fsid to a randomly generated UUID or continue previous
       fsid change operation in case it was interrupted.

should do what you need.

-h

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

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-27 14:31 How to change BTRFS filesystem UUID Jiri Kanicky
2015-12-27 14:45 ` 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 [this message]

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=567FFA26.9070101@googlemail.com \
    --to=holger.hoffstaette@googlemail.com \
    --cc=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.