Misono, Tomohiro posted on Mon, 16 Oct 2017 13:35:08 +0900 as excerpted:
> On 2017/10/16 12:30, Anand Jain wrote:
>>
>>
>> On 10/13/2017 01:27 PM, Duncan wrote:
>>> Misono, Tomohiro posted on Wed, 11 Oct 2017 11:18:50 +0900 as
>>> excerpted:
>>>
>>>> Add 'btrfs remove missing-all' to remove all the missing devices at
>>>> once for improving usability.
>>>>
>>>> Example:
>>>> sudo mkfs.btrfs -f -d raid1 /dev/sdb1 /dev/sdb2 /dev/sdb3 /dev/sdb4
>>>> sudo wipefs -a /dev/sdb1 /dev/sdb3 sudo mount -o degraded /dev/sdb2
>>>> /mnt <--
>>
>>
>> I agree with Duncan here. This step itself will fail even with RO
>> option. Do you have any patch that is not in the ML which will make
>> this step a success in the first place ?
>>
>> Thanks, Anand
>>
>>
> commit 21634a19f646 ("btrfs: Introduce a function to check if all chunks
> a OK for degraded rw mount") allow this from 4.14 (I checked on
> 4.14-rc4).
That's why I said recent patches allow it in corner-cases. However, I
think those corner-cases would I think be difficult to document concisely
in the manpage, and without that, I believe the option would be more
confusing than helpful, since people would expect it to actually work
when it won't, for them.
> But I will withdraw this patch as Duncan suggests.
If someone comes up with a satisfactory way to explain at a manpage level
the corner-cases in which removing more than one missing device at a time
can work...
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html