On 11/15/2011 4:22 AM, Ilya Dryomov wrote:
Restriper won't let you do raid1 -> dup transition because dup is only allowed for a single-spindle FS, so you'll end up with error "btrfs: unable to start restripe ...". There is no way to prioritize disks during restripe. To get dup back you'll have to convert everything to single, remove the second drive and then convert metadata from single to dup.
So there is no way to put a disk into read only mode and prevent allocations of new chunks there?
It seems like both of these limitations are highly undesirable when trying to recover from a failing disk. You don't want any more data being written to the failing disk while you are trying to remove it, and you certainly don't want to drop back to a single copy of data that is then written to the failing disk.
-- 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
