Re: How to change BTRFS filesystem UUID

2015-12-27 Thread Duncan
Jiri Kanicky posted on Mon, 28 Dec 2015 13:13:24 +1100 as excerpted: > VM with BTRFS filesystem running on XenServer. The VM disk is a VHD > stored on NFS storage. NFS storage ran out of space, and I found the > BTRFS in RO mode. I could not remount it as RW after increasing the > storage space. I

Re: How to change BTRFS filesystem UUID

2015-12-27 Thread Jiri Kanicky
Hi, Thanks for the detailed information. The data were not corrupted, so I could copy them to a new BTRFS partition. Here is what happened exactly. VM with BTRFS filesystem running on XenServer. The VM disk is a VHD stored on NFS storage. NFS storage ran out of space, and I found the BTRFS

Re: How to change BTRFS filesystem UUID

2015-12-27 Thread Duncan
Hugo Mills posted on Sun, 27 Dec 2015 23:13:03 + as excerpted: > 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

Re: How to change BTRFS filesystem UUID

2015-12-27 Thread Hugo Mills
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 > colliding UUIDs a

Re: How to change BTRFS filesystem UUID

2015-12-27 Thread Christoph Anton Mitterer
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 colliding UUIDs are "seen". At least to me it's currently unclear what "seen" exactly means... actua

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 s

Re: How to change BTRFS filesystem UUID

2015-12-27 Thread Holger Hoffstätte
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 interr

Re: How to change BTRFS filesystem UUID

2015-12-27 Thread Hugo Mills
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 s