Re: How to change BTRFS filesystem UUID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux