Re: Meaning of \no_csum\ field when scrubbing with -R option

2014-02-21 Thread Duncan
Wang Shilong posted on Fri, 21 Feb 2014 10:30:25 +0800 as excerpted: So my question is, why does scrub show a high (i.e. non-zero) value for no_csum? I never enabled nodatasum or a similar option. This should be related to btrfs free space cache, it is designed as nocow without checksums.

Re: Meaning of no_csum field when scrubbing with -R option

2014-02-20 Thread Duncan
Sebastian Ochmann posted on Wed, 19 Feb 2014 13:58:17 +0100 as excerpted: So my question is, why does scrub show a high (i.e. non-zero) value for no_csum? I never enabled nodatasum or a similar option. I've no answer but have wondered that myself. So hopefully you get an answer I can read

Re: Meaning of no_csum field when scrubbing with -R option

2014-02-20 Thread Wang Shilong
On 02/20/2014 06:31 PM, Duncan wrote: Sebastian Ochmann posted on Wed, 19 Feb 2014 13:58:17 +0100 as excerpted: So my question is, why does scrub show a high (i.e. non-zero) value for no_csum? I never enabled nodatasum or a similar option. Did you enable nodatacow option? if nodatacow option

Re: Meaning of no_csum field when scrubbing with -R option

2014-02-20 Thread Duncan
Wang Shilong posted on Thu, 20 Feb 2014 18:51:10 +0800 as excerpted: On 02/20/2014 06:31 PM, Duncan wrote: Sebastian Ochmann posted on Wed, 19 Feb 2014 13:58:17 +0100 as excerpted: So my question is, why does scrub show a high (i.e. non-zero) value for no_csum? I never enabled nodatasum or

Re: Meaning of \no_csum\ field when scrubbing with -R option

2014-02-20 Thread Sebastian Ochmann
Hello, Sebastian Ochmann posted on Wed, 19 Feb 2014 13:58:17 +0100 as excerpted: So my question is, why does scrub show a high (i.e. non-zero) value for no_csum? I never enabled nodatasum or a similar option. Did you enable nodatacow option? if nodatacow option is

Re: Meaning of \no_csum\ field when scrubbing with -R option

2014-02-20 Thread Wang Shilong
On 02/20/2014 07:25 PM, Sebastian Ochmann wrote: Hello, Sebastian Ochmann posted on Wed, 19 Feb 2014 13:58:17 +0100 as excerpted: So my question is, why does scrub show a high (i.e. non-zero) value for no_csum? I never enabled nodatasum or a similar option. Did you

Meaning of no_csum field when scrubbing with -R option

2014-02-19 Thread Sebastian Ochmann
Hello everyone, I have a question: What exactly does the value for no_csum mean when doing a scrub with the -R option? Example output: sudo btrfs scrub start -BR / scrub done for ... ... csum_errors: 0 verify_errors: 0 no_csum: 70517 csum_discards: 87381 super_errors: 0 ...