How to change BTRFS filesystem UUID

2015-12-27 Thread Jiri Kanicky
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

Re: How to change BTRFS filesystem UUID

2015-12-27 Thread Jiri Kanicky
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

Re: How to change BTRFS filesystem UUID

2015-12-27 Thread Jiri Kanicky
3 AM, Hugo Mills wrote: On Mon, Dec 28, 2015 at 12:01:39AM +0100, Christoph Anton Mitterer wrote: On Mon, 2015-12-28 at 02:27 +1100, Jiri Kanicky wrote: Thanks for the reply. Looks like I will have o use some newer distro. As it was already said... btrfs may even corrupt your filesystem if colli