From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from userp1040.oracle.com ([156.151.31.81]:34203 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754486AbaELB7L (ORCPT ); Sun, 11 May 2014 21:59:11 -0400 Message-ID: <53702B42.8040806@oracle.com> Date: Mon, 12 May 2014 10:00:34 +0800 From: Anand Jain MIME-Version: 1.0 To: Chris Murphy , Btrfs BTRFS Subject: Re: bug adding device to seed device, btrfs fi show fails References: <29B81ECC-8877-4BBB-9701-1CB5C46717ED@colorremedies.com> In-Reply-To: <29B81ECC-8877-4BBB-9701-1CB5C46717ED@colorremedies.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-btrfs-owner@vger.kernel.org List-ID: 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 = 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) ... > # btrfs fi show > Label: 'rawhide' uuid: d372e5d1-386f-460c-b036-611469e0155e > Total devices 1 FS bytes used 7.55GiB > devid 1 size 79.31GiB used 11.04GiB path /dev/sda3 > > btrfs: utils.c:1769: get_fs_info: Assertion `!(ndevs >= fi_args->num_devices)' failed. > > Nothing listed in dmesg.-- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >