Re: btrfs scrub crashes OS

2017-09-26 Thread Qu Wenruo
On 2017年09月26日 19:50, Lukas Pirl wrote: On 09/26/2017 11:36 AM, Qu Wenruo wrote as excerpted: This is strange, this means that we can't find a chunk map for a 72K length data extent. Either the new mapper code has some bug, or it's a big problem. But I think it's more possible for former case

Re: btrfs scrub crashes OS

2017-09-26 Thread Lukas Pirl
On 09/26/2017 11:36 AM, Qu Wenruo wrote as excerpted: > This is strange, this means that we can't find a chunk map for a 72K > length data extent. > > Either the new mapper code has some bug, or it's a big problem. > But I think it's more possible for former case. > > Would you please try to dump

Re: btrfs scrub crashes OS

2017-09-26 Thread Qu Wenruo
On 2017年09月26日 17:26, Lukas Pirl wrote: Hi Qu, On 09/26/2017 10:51 AM, Qu Wenruo wrote as excerpted: This make things more weird. Just in case, are you executing offline scrub by "btrfs scrub start --offline " Yes. I even got some output (pretty sure the last lines are missing due to the cr

Re: btrfs scrub crashes OS

2017-09-26 Thread Lukas Pirl
Hi Qu, On 09/26/2017 10:51 AM, Qu Wenruo wrote as excerpted: > This make things more weird. > Just in case, are you executing offline scrub by "btrfs scrub start > --offline " Yes. I even got some output (pretty sure the last lines are missing due to the crash): WARNING: Offline scrub doesn't su

Re: btrfs scrub crashes OS

2017-09-26 Thread Qu Wenruo
On 2017年09月26日 16:34, Lukas Pirl wrote: Dear Qu, thanks for your reply. On 09/25/2017 12:19 PM, Qu Wenruo wrote as excerpted: Even no dmesg output using tty or netconsole? And thanks for the pointer to netconsole, I tried that one. No success. I set netconsole up, verified it worked, start

Re: btrfs scrub crashes OS

2017-09-26 Thread Lukas Pirl
Dear Qu, thanks for your reply. On 09/25/2017 12:19 PM, Qu Wenruo wrote as excerpted: > Even no dmesg output using tty or netconsole? And thanks for the pointer to netconsole, I tried that one. No success. I set netconsole up, verified it worked, started a scrub, the machine went away after a co

Re: btrfs scrub crashes OS

2017-09-25 Thread Qu Wenruo
On 2017年09月25日 17:50, Lukas Pirl wrote: Dear all, I experience reproducible OS crashes when scrubbing a btrfs file system. Apart from that, the file system mounts rw and is usable without any problems (including modifying snapshots and all that). When the system crashes (i.e., freezes), there

btrfs scrub crashes OS

2017-09-25 Thread Lukas Pirl
Dear all, I experience reproducible OS crashes when scrubbing a btrfs file system. Apart from that, the file system mounts rw and is usable without any problems (including modifying snapshots and all that). When the system crashes (i.e., freezes), there are no errors printed to the system logs or