So I just swapped out a RAID HDD on a server. I got the "hasn't been checked for X days, fsck forced" message, and am patiently waiting right now.
This got me wondering: how can I responsibly avoid this situation? I know that I could skip the forced fsck, and that I can't really do a real fsck while the system is running.
So is there a way to do an online fsck on a server in the night, just to check if there are any potential problems? And if there aren't, make the system NOT running the forced fsck?
Would an online read-only fsck detect (not fix) the same problems a full-blown fsck would?
This is one ext3.