Thank a lot for your responses. I already knew degraded mount but I wanted to solve the problem in a consistent way and not continuing to mount in degraded mode. I tried to add another device and "btrfs device delete missing /mnt" but it failed. I also tried using balance filters and --force option as Timofei pointed out but it failed too. So finally I upgraded my kernel to 3.11, generated new raid1 filesystem on devices and copied data back to it. Thanks again, Alfredo 2013/10/7 Chris Murphy <lists@xxxxxxxxxxxxxxxxx>: > > On Oct 7, 2013, at 9:44 AM, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote: > >> >> On Oct 7, 2013, at 4:38 AM, Duncan <1i5t5.duncan@xxxxxxx> wrote: >> >>> Since your btrfs in raid1 mode has two devices currently, you won't be >>> able to delete one of them as-is. You will need to ADD a device first >>> (bringing the total to three devices), optionally do a balance, and THEN >>> delete the failed/missing/to-be-removed device (bringing the total back >>> to two, which you never go below that way). >> >> Oops that's right, I forgot about this, and I have read the wiki! The other way to do it is to just pull the device, preferably with the file system unmounted. And then use it in degraded mode. I don't know if it's possible to convert a degraded volume, however. > > Jeez, do I write much? Disconnect the device you want removed from the volume. Mount the one you want to keep using with -o degraded. > > Chris Murphy-- > 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 -- 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
