On Tue, Sep 17, 2024 at 02:28:15PM GMT, Hanno Böck wrote:
> Hi,
> 
> I'm having trouble with a bcachefs filesystem after an update to the
> latest linux kernel 6.11.
> 
> After updating to 6.11, mounting of a bcachefs partition hang during
> the boot process. I booted into a rescue system and disabled
> automounting of that partition.
> 
> Afterwards, I tried fsck on the device, which didn't work with
> bcachefs-tools 1.9.4. I upgraded to bcachefs-tools 1.11.0.
> 
> Running fsck.bcachefs hangs at
> bcachefs (vdc2): accounting_read...
> 
> Doing either an fsck or mounting the partition leads to a BUG in kernel
> dmesg. I'm pasting the message below.
> 
> Any suggestions what to do next? Ideally, I'd prefer to be able to
> rescue that partition. I'm not sure whether downgrading the kernel
> again to a previous version is safe. (It looks like it auto-upgraded
> some things during mounting/fsck, see dmesg messages below.)

hmm, it seems accounting keys ended up out of order in the journal
somehow - that's odd.

Fixing the BUG_ON() and getting you going again will be easy, but I want
to know what the underlying bug was...

Could you run 'bcachefs list_journal -a -k accounting <device>'?

Reply via email to