Re: btrfs error: write time tree block corruption detected

2021-03-08 Thread Qu Wenruo
On 2021/3/8 下午6:02, chil L1n wrote: Hi Qu, Thanks for some explanation. Personally, I prefer binary to compare bit-level changes. Actually, I also miscounted. I count 3 bit flips. Yes, you're right, xor also returns 3 bits flips. But the point is not about directly comparing the two key of

Re: btrfs error: write time tree block corruption detected

2021-03-08 Thread chil L1n
Hi Qu, Thanks for some explanation. Personally, I prefer binary to compare bit-level changes. Actually, I also miscounted. I count 3 bit flips. Isn't that extremely unlikely, assuming that each bit flip is independent? Nonetheless, I'm running another RAM test with memtester and 6GB RAM blocks

Re: btrfs error: write time tree block corruption detected

2021-03-08 Thread Qu Wenruo
On 2021/3/8 下午5:23, Qu Wenruo wrote: On 2021/3/8 下午4:56, chil L1n wrote: Hi Johannes, Thanks for the advice. I'm running memtester now. This will take some time as the machine has 32GB RAM. Regarding your explanation, I count two bit position differences, not 1. Can you explain your reason

Re: btrfs error: write time tree block corruption detected

2021-03-08 Thread Qu Wenruo
On 2021/3/8 下午5:23, Qu Wenruo wrote: On 2021/3/8 下午4:56, chil L1n wrote: Hi Johannes, Thanks for the advice. I'm running memtester now. This will take some time as the machine has 32GB RAM. Regarding your explanation, I count two bit position differences, not 1. Can you explain your reason

Re: btrfs error: write time tree block corruption detected

2021-03-08 Thread Qu Wenruo
On 2021/3/8 下午4:56, chil L1n wrote: Hi Johannes, Thanks for the advice. I'm running memtester now. This will take some time as the machine has 32GB RAM. Regarding your explanation, I count two bit position differences, not 1. Can you explain your reasoning? It looks like Johannes missed one

Re: btrfs error: write time tree block corruption detected

2021-03-08 Thread chil L1n
Hi Johannes, Thanks for the advice. I'm running memtester now. This will take some time as the machine has 32GB RAM. Regarding your explanation, I count two bit position differences, not 1. Can you explain your reasoning? Thanks, chill On Mon, Mar 8, 2021 at 9:41 AM Johannes Thumshirn wrote:

Re: btrfs error: write time tree block corruption detected

2021-03-08 Thread Johannes Thumshirn
On 06/03/2021 10:11, chil L1n wrote: > [211.868642] BTRFS critical (device sda4): corrupt leaf: root=258 > block=250975895552 slot=78, bad key order, prev (256703 108 3276800) > current (256703 108 1310720) > [211.868650] BTRFS error (device sda4): block=250975895552 write > time tree block

btrfs error: write time tree block corruption detected

2021-03-06 Thread chil L1n
Hi, Just noticed that one of my btrfs mounts on a server was in read-only mode. dmesg shows: [2217355.427810] BTRFS info (device sda3): scrub: started on devid 1 [2221262.216646] BTRFS info (device sda3): scrub: finished on devid 1 with status: 0 [2390153.679168] BTRFS info (device sda4): scrub: