Re: Btrfs corruption: Cannot mount partition

2019-02-17 Thread Martin Pöhlmann
Some more important insights: The switch to read-only mode may not only happen on boot but also during working. I got the system running and then tried again to compile our project with IntelliJ. Result is basically the same as described in 1st mail. Compile aborts with some unclear error. But when

Re: Btrfs corruption: Cannot mount partition

2019-02-17 Thread Martin Pöhlmann
Tried zero-log. After reboot the system booted again. But all sub-volumes are mounted read-only. This should be the relevant dmesg excerpt (note to last lines, there it mentions forced to ro mode) [ 51.356769] WARNING: CPU: 3 PID: 54 at fs/btrfs/extent-tree.c:6822 __btrfs_free_extent.isra.25+0x

Re: Btrfs corruption: Cannot mount partition

2019-02-16 Thread Martin Pöhlmann
Thanks a lot for your help. @Qu Wenruo: WIll zero log after completing the backup @Chris Murphy: First of all, mount -ro,nologreplay works. dump-tree displays two items: # btrfs insp dump-tree -b 88560877568 --follow /dev/mapper/cryptroot btrfs-progs v4.19.1 leaf 88560877568 items 2 free space 1

Re: Btrfs corruption: Cannot mount partition

2019-02-15 Thread Qu Wenruo
On 2019/2/16 上午5:31, Martin Pöhlmann wrote: > Hello, > > After a reboot I am lost with an unmountable BTRFS partition. Before > reboot I had first compile problems with freezing IntelliJ. These > persisted after a first reboot, after a second reboot I am faced with > the following error after en

Re: Btrfs corruption: Cannot mount partition

2019-02-15 Thread Chris Murphy
On Fri, Feb 15, 2019 at 2:31 PM Martin Pöhlmann wrote: OK I just looked at the dmesg you attached, and you might have found a bug. 1. Try -o ro,nologreplay because it's safe, and you can update your backups if needed. 2. If ro,nologreplay doesn't work, use 'btrfs restore' to extract important

Re: Btrfs corruption: Cannot mount partition

2019-02-15 Thread Chris Murphy
On Fri, Feb 15, 2019 at 2:31 PM Martin Pöhlmann wrote: > > Hello, > > After a reboot I am lost with an unmountable BTRFS partition. Before > reboot I had first compile problems with freezing IntelliJ. These > persisted after a first reboot, after a second reboot I am faced with > the following err

Btrfs corruption: Cannot mount partition

2019-02-15 Thread Martin Pöhlmann
Hello, After a reboot I am lost with an unmountable BTRFS partition. Before reboot I had first compile problems with freezing IntelliJ. These persisted after a first reboot, after a second reboot I am faced with the following error after entering the dm-crypt password (also after manual mount with