Re: bug adding device to seed device, btrfs fi show fails

2014-08-13 Thread Chris Murphy
On Aug 13, 2014, at 10:05 PM, Chris Murphy wrote: > >>> On 05/11/2014 09:51 AM, Chris Murphy wrote: kernel 3.15.0-0.rc5.git0.1.fc21.x86_64 btrfs-progs 3.14 /dev/sdb2 = existing btrfs fs /dev/sdc3 = unformatted partition # btrfstune -S1 /dev/sdb2 #

Re: bug adding device to seed device, btrfs fi show fails

2014-08-13 Thread Anand Jain
Chris, For the seed replace issues. you have to try this patch set. Thanks. https://patchwork.kernel.org/patch/4716371/ Next, for the failing 'btrfs fi show' issue the following diff is the latest. The last attempt was .. [PATCH] btrfs: ioctl BTRFS_IOC_FS_INFO and BTRFS_IOC_DEV_INFO miss-mat

Re: bug adding device to seed device, btrfs fi show fails

2014-08-13 Thread Chris Murphy
>> On 05/11/2014 09:51 AM, Chris Murphy wrote: >>> kernel 3.15.0-0.rc5.git0.1.fc21.x86_64 >>> btrfs-progs 3.14 >>> >>> /dev/sdb2 = existing btrfs fs >>> /dev/sdc3 = unformatted partition >>> >>> >>> # btrfstune -S1 /dev/sdb2 >>> # mount /dev/sdb2 /mnt >>> mount: /dev/sdb2 is write-protected, mo

Re: bug adding device to seed device, btrfs fi show fails

2014-05-13 Thread Wang Shilong
Hi Anand, On 05/12/2014 10:00 AM, Anand Jain wrote: This patch posted a long time back should fix it. http://permalink.gmane.org/gmane.comp.file-systems.btrfs/33276 I sent a patch to address another problem, plus your patch should can fix the problem. https://patchwork.kernel.org/patch/4163

Re: bug adding device to seed device, btrfs fi show fails

2014-05-11 Thread Anand Jain
This patch posted a long time back should fix it. http://permalink.gmane.org/gmane.comp.file-systems.btrfs/33276 Could you test it ? Thanks, Anand On 05/11/2014 09:51 AM, Chris Murphy wrote: kernel 3.15.0-0.rc5.git0.1.fc21.x86_64 btrfs-progs 3.14 /dev/sdb2 = existing btrfs fs /dev/sdc3 =

Re: bug adding device to seed device, btrfs fi show fails

2014-05-10 Thread Chris Murphy
On May 10, 2014, at 7:51 PM, Chris Murphy wrote: > kernel 3.15.0-0.rc5.git0.1.fc21.x86_64 > btrfs-progs 3.14 > > /dev/sdb2 = existing btrfs fs > /dev/sdc3 = unformatted partition > > > # btrfstune -S1 /dev/sdb2 > # mount /dev/sdb2 /mnt > mount: /dev/sdb2 is write-protected, mounting read-only

bug adding device to seed device, btrfs fi show fails

2014-05-10 Thread Chris Murphy
kernel 3.15.0-0.rc5.git0.1.fc21.x86_64 btrfs-progs 3.14 /dev/sdb2 = existing btrfs fs /dev/sdc3 = unformatted partition # btrfstune -S1 /dev/sdb2 # mount /dev/sdb2 /mnt mount: /dev/sdb2 is write-protected, mounting read-only # btrfs device add /dev/sdc3 /mnt Performing full device TRIM (75.90GiB