Based on my experience Hugo's advice is critical, get the bad drive out of the pool when in raid56 and do not try to replace or delete it while it's still attached and recognized. If you add a new device, mount degraded and rebalance. If you don't, mount degraded then device delete missing. On Mon, Jul 6, 2015 at 2:49 PM, Hugo Mills <hugo@xxxxxxxxxxxxx> wrote: > On Mon, Jul 06, 2015 at 09:44:53PM +0200, Hendrik Friedel wrote: >> Hello, >> >> ok, sdc seems to have failed (sorry, I checked only sdd and sdb >> SMART values, as sdc is brand new. Maybe a bad assumption, from my >> side. >> >> I have mounted the device >> mount -o recovery,ro >> >> So, what should I do now: >> btrfs device delete /dev/sdc /mnt >> >> or >> >> mount -o degraded /dev/sdb /mnt >> btrfs device delete missing /mnt >> >> I do have a backup of the most valuable data. >> But if you consider one of the above options risky, I might better >> get a new drive before, but this might take a couple of days (in >> which sdc could further degrade). >> What is your recommendation? > > Physically remove the device from the array, mount with -o > degraded, optionally add the new device, and run a balance. > > Hugo. > > -- > Hugo Mills | "I lost my leg in 1942. Some bastard stole it in a > hugo@... carfax.org.uk | pub in Pimlico." > http://carfax.org.uk/ | > PGP: E2AB1DE4 | -- 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
