From: Jiri Kanicky <j@ganomi.com>
To: Hugo Mills <hugo@carfax.org.uk>, linux-btrfs@vger.kernel.org
Subject: Re: How to change BTRFS filesystem UUID
Date: Mon, 28 Dec 2015 02:27:09 +1100 [thread overview]
Message-ID: <5680034D.7030509@ganomi.com> (raw)
In-Reply-To: <20151227144535.GJ1586@carfax.org.uk>
Hi,
Thanks for the reply. Looks like I will have o use some newer distro.
Debian Jessie rescue CD does not seem to have this. Anyway, i will play
with this.
Thank you Jiri
On 28/12/2015 1:45 AM, Hugo Mills wrote:
> On Mon, Dec 28, 2015 at 01:31:26AM +1100, Jiri Kanicky wrote:
>> 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?
> btrfstune, with -u or -U
>
> Hugo.
>
next prev parent reply other threads:[~2015-12-27 15:28 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 [this message]
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=5680034D.7030509@ganomi.com \
--to=j@ganomi.com \
--cc=hugo@carfax.org.uk \
--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.