I cannot delete that way because it would mean going below the minimum
number of devices and it fails, as explained in the wiki.

The solution from wiki is to add a new device and then delete the old
one, but the problem here may be due to the new device appearing with
the same name(sdb)?

Suman

On Tue, Oct 14, 2014 at 7:52 AM, Rich Freeman
<r-bt...@thefreemanclan.net> wrote:
> On Tue, Oct 14, 2014 at 10:48 AM, Suman C <schakr...@gmail.com> wrote:
>>
>> The new drive shows up as sdb. btrfs fi show still prints drive missing.
>>
>> mounted the filesystem with ro,degraded
>>
>> tried adding the "new" sdb drive which results in the following error.
>> (-f because the new drive has a fs from past)
>>
>> # btrfs device add -f /dev/sdb /mnt2/raid1pool
>> /dev/sdb is mounted
>>
>> Unless I am missing something, this looks like a bug.
>>
>
> You need to first run btrfs device delete missing /mnt2/raid1pool I
> believe (missing is a keyword for a missing device in the array - if
> the device were still present you could specify it by /dev/sdX).
>
> --
> Rich
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to