After a crash with PANIC: no space in log after sync
which I obviously should not have continued, my boot volume is mounted read-only. Trying from a different system, this appears in the syslog:
KERN: bfs: Replay log, disk was not correctly unmounted...
KERN: run count: 1002310361, array max: 98, max runs: 126
KERN: bfs: KERN: Log entry has broken header!
KERN: bfs: KERN: replaying log entry from 2144 failed: Bad data
KERN: bfs: KERN: Replaying log failed, data may be corrupted, volume read-only.
That run count happens to be INODE_MAGIC1
. checkfs
doesn’t find any issue. Is there anything I can do to fix the volume even if I lose some files or the latest changes? I would much rather flip a few bits with an hex editor than reinstall.