Re: How to detect hard disk failure ?
From: Alexander Haderer (alexander.haderer_at_charite.de)
Date: 05/16/03
- Previous message: Nils Vogels: "Re: ipsec"
- In reply to: Pranav A. Desai: "Re: How to detect hard disk failure ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 16 May 2003 16:36:44 +0200 To: "Pranav A. Desai" <pdesai1@cs.uh.edu>, Andy Farkas <andyf@speednet.com.au>
At 09:27 16.05.2003 -0500, Pranav A. Desai wrote:
>....
>The other thing that I thought of doing is to capture /var/log/messages
>for any errors regarding disks. But I have two problems with that.
>1) I dont know how to do tail -f in shell script.
Take a look at fetchlog, it was made just for this kind of job:
http://fetchlog.sourceforge.net
>2) I am not sure if messages gives all kinds of disk errors.
disk error messages appear as kernel messages, and they are part of
messages. See /etc/syslog.conf. If you try fetchlog think about a special
logfile for kernelmessages only. Again: man syslogd, man syslog.conf, man
newsyslog.
with best regards,
Alexander
-- Alexander Haderer Charite Berlin - Germany _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Nils Vogels: "Re: ipsec"
- In reply to: Pranav A. Desai: "Re: How to detect hard disk failure ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|