Am Sonntag, 28. Oktober 2012 schrieb Hugo Mills:
> On Sun, Oct 28, 2012 at 02:23:51PM +0100, Martin Steigerwald wrote:
> > Am Sonntag, 28. Oktober 2012 schrieb Ronnie Collinson:
> > > In a raid1 situation, it will also rewrite the effected data, on
> > > the drive that failed the checksum
> > 
> > Will it do so without an explicit scrub?
> 
>    If a failed checksum is detected, yes.
> 
>    If there's a bad block, and the FS happens to read the good copy
> first, it won't fix it, because it hasn't tried reading the bad copy
> yet.

Ah, okay. I think I read some while ago in a case of bad checksum detected 
it won´t repair automatically. Has this been changed?

Anyway, a regular scrub still makes sense, as BTRFS only reads files that 
applications demand and BTRFS may read from a good copy as you pointed 
out.

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to