Welp, I might just have to throw a grenade on this. Lets see if bcachefs fsck -pvk can work some miracles…

  • muusemuuse@lemm.eeOP
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    7 days ago

    Here’s the thing. Bcachefs is still under development, and Kent is really careful with his filesystem. This happens to me every now and then if I havent rebooted in a long time or theres a kernel update with filesystem changes it doesn’t like. The trick is to skip the userspace fsck code and pass the -k flag so it uses the kernel fsck code which is much farther along. I’ve never lost anything on this filesystem and its messed up in lots of bizzare ways.

      • muusemuuse@lemm.eeOP
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        2
        ·
        7 days ago

        ext4 doesnt do tiered storage. I could make an LVM and have it pool things into one storage volume but I wanted to learn this. bcachefs is simpler and cleaner, but it’s still young and very volatile. Also, ext4 does have bugs still, even today.