On Thu, Jan 26, 2012 at 12:27:57AM +0100, Waxhead wrote:
> Hi,
> 
> From what I have read BTRFS does replace a bad copy of data with a
> known good copy (if it has one).

   Correct.

> Will BTRFS try to repair the corrupt data or will it simply silently
> restore the data without the user knowing that a file has been
> "fixed"?

   No, it'll just return the good copy and report the failure in the
system logs. If you want to fix the corrupt data, you need to use
scrub, which will check everything and fix blocks with failed
checksums.

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
          --- ...  one ping(1) to rule them all, and in the ---          
                         darkness bind(2) them.                          

Attachment: signature.asc
Description: Digital signature

Reply via email to