On 10/16/2017 12:35 PM, Misono, Tomohiro wrote:
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.
Correction. RO mount is possible based on which disk you choose to mount.
Thanks - Anand
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).
But I will withdraw this patch as Duncan suggests.
Thanks,
Tomohiro
--
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
--
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