[CLUE-Tech] fsck log
David Anselmi
anselmi at anselmi.us
Thu May 27 09:05:48 MDT 2004
Angelo Bertolli wrote:
> I'm planning on running shutdown -r -F around 3 am, and I wanted to know
> if fsck logs any filesystem erros. I would like to know if it found
> anything. I do not have a terminal access to this server, so I wouldn't
> even be able to watch it if I did stay up that late.
It looks like fsck only writes to stdout. Logging output of boot
scripts is problematic (but it would be cool if someone would code a way
to do it -- they did for the kernel). A serial console and console
server would be a big help.
If what you want is to fsck the disks, you don't have to reboot for
that. You can do it by hand (or script it if you want to run it late)
and then save off the output however you want. Figuring out how to
mount /var as read-only while the system is running might be tricky, but
maybe you don't need to check /var.
HTH,
Dave
More information about the clue-tech
mailing list