All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
To: Anand Jain <Anand.Jain@oracle.com>
Cc: Chris Murphy <lists@colorremedies.com>,
	Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: bug adding device to seed device, btrfs fi show fails
Date: Tue, 13 May 2014 17:12:05 +0800	[thread overview]
Message-ID: <5371E1E5.1030909@cn.fujitsu.com> (raw)
In-Reply-To: <53702B42.8040806@oracle.com>

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/4163791/

Thanks,
Wang
>
> 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
>>
> -- 
> 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
>


  reply	other threads:[~2014-05-13  9:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-11  1:51 bug adding device to seed device, btrfs fi show fails Chris Murphy
2014-05-11  3:38 ` Chris Murphy
2014-05-12  2:00 ` Anand Jain
2014-05-13  9:12   ` Wang Shilong [this message]
2014-08-14  4:05     ` Chris Murphy
2014-08-14  4:37       ` Anand Jain
2014-08-14  4:42       ` Chris Murphy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5371E1E5.1030909@cn.fujitsu.com \
    --to=wangsl.fnst@cn.fujitsu.com \
    --cc=Anand.Jain@oracle.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=lists@colorremedies.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.