Re: How to detect hard disk failure ?

From: Alexander Haderer (alexander.haderer_at_charite.de)
Date: 05/16/03

  • Next message: B.Bonev: "Manual conn/disconn though FreeBSD gateway for Win client?"
    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"
    

  • Next message: B.Bonev: "Manual conn/disconn though FreeBSD gateway for Win client?"

    Relevant Pages

    • Re: My computer will not load up. Nee Help
      ... It means you have a hardware problem, and without the disks there is little ... i dont know what recovery console is. ... have the disk that microsoft says i need to go into recovery console. ... its an old dell laptop. ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: Diagnosing performance problems
      ... As long as the busy disks aren't busy with swap, ... Another thing I dont quite understand is the memory usage. ... connecting to the database attach to this shared memory segment. ...
      (comp.unix.solaris)
    • Re: Diagnosing performance problems
      ... As long as the busy disks aren't busy with swap, ... Another thing I dont quite understand is the memory usage. ... connecting to the database attach to this shared memory segment. ...
      (comp.sys.sun.admin)
    • Re: Solaris 8 in a SPARCstation 20---Partition size questions
      ... he stays away from the 10krpm disks. ... I dont say that it's running cool, but it can stand the heat pretty well.. ... but ofcoz it's a matter of very personal opinions of the sysadmin:) ...
      (comp.sys.sun.hardware)
    • Re: Replaced drive in Sun Blade 100 - getting "corrupt label"
      ... Most Disks from Sun are prelabeld, maybe the installation ... dont care for that. ...
      (comp.unix.solaris)