On Sun, 2015-12-27 at 18:23 -0700, Chris Murphy wrote:
> I'd want scrub to immediately fail in a degraded case, because the
> higher workload added by the scrub itself could cause additional
> device failures sooner. And that would negatively impact the ability
> to get the array healthy again with a rebuild - during which time you
> wouldn't want the scrub running anyway.
I think that should be the default behaviour, yes.

Probebly there should be a --force like override switch,... again take
my example of classic RAID1 with say 6 disks... (which is right now not
possible in btrfs, I know).
Now one fails... so it's degraded, but you still have 5 left and you're
probably far away from complete loss. OTOH you still may want to scrub
your data during during that time (e.g. to catch silent block errors),
in that specific scenario.


Cheers,
Chris.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to