Closed CorrosiveTruths closed 1 month ago
Note: The fsck fixes do not remove the missing info in the rw snapshot's lost+found and trying to rsync that snapshot results in warning about vanishing files.
Closing this, more going on than I thought and I need to reproduce better.
Hi, I'm using X-mount.subdir - which is an experimental feature to mount a subdir as / - essentially a bind mount. This is being used so that a snapshot can be used as /.
bcachefs has created a local lost+found inside this snapshot, so I have a /lost+found in the filesystem root and also one at /.snapshots/outlast.rw/lost+found (.snapshots and outlast.rw are both rw snapshots). Since outlast.rw is being ro snapshotted every hour, there are also a bunch of ro snapshots with lost+found directories.
The /lost+found directory itself is fine, but the others that exist don't reference anything.
e.g.
This state also crashes the fsck. It will offer to fix some of the issues though.
Subsequent runs of fsck crash with: