I’ve been surfing the interwebs to try to figure out how to check my btrfs system (only a single partition containing / and /home). I’d like to have the system checked automatically, maybe every boot. I think Btrfs was the default system installed. So, tune2fs reports “bad magic number - btrfs detected” and so I can’t do that… and, besides, fsck.btrfs or btrfs-tools seem to be preferred. Is there a solution I missed?
Also have a look at “btrfsmaintenance” for regular maintenance of the filesystem using scrub and balance (and potentially defrag and trim).
AFAIK it is installed but not enabled by default.
Thanks! That’s why I wanted it done (automatically) during boot - b4 mounting. Like my ext4 systems. Big raid server(s) and power outages, don’t you know? lol! (and no budget for appropriate UPSs)
When server automatically comes back up at power restoration = check disk… (at least, that’s the thinking)
I should have installed under ext4, but didn’t.