From owner-freebsd-questions@FreeBSD.ORG Wed Nov 23 02:05:26 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72A5616A41F for ; Wed, 23 Nov 2005 02:05:26 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from relay02.roc.ny.frontiernet.net (relay02.roc.ny.frontiernet.net [66.133.182.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5143543D46 for ; Wed, 23 Nov 2005 02:05:25 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from filter05.roc.ny.frontiernet.net (filter05.roc.ny.frontiernet.net [66.133.183.72]) by relay02.roc.ny.frontiernet.net (Postfix) with ESMTP id B58DC37198D for ; Wed, 23 Nov 2005 02:05:24 +0000 (UTC) Received: from relay02.roc.ny.frontiernet.net ([66.133.182.165]) by filter05.roc.ny.frontiernet.net (filter05.roc.ny.frontiernet.net [66.133.183.72]) (amavisd-new, port 10024) with LMTP id 05214-09-90 for ; Wed, 23 Nov 2005 02:05:24 +0000 (UTC) Received: from blacklamb.mykitchentable.net (67-51-133-159.dsl1.elk.ca.frontiernet.net [67.51.133.159]) by relay02.roc.ny.frontiernet.net (Postfix) with ESMTP id 7403137198A for ; Wed, 23 Nov 2005 02:05:24 +0000 (UTC) Received: from [192.168.1.3] (unknown [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTP id 763FF154A3A for ; Tue, 22 Nov 2005 18:05:23 -0800 (PST) Message-ID: <4383CE63.6000700@mykitchentable.net> Date: Tue, 22 Nov 2005 18:05:23 -0800 From: Drew Tomlinson User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-2.3.2 (20050629) at filter05.roc.ny.frontiernet.net Subject: How To Monitor Disk Errors? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2005 02:05:26 -0000 I have an old machine running 4.11. It died sometime last night from what I think was a disk problem. The machine was still running and still passing packets (it is my firewall) but I could not log in via the console, ssh, or telnet. I powered the machine off/on and heard the "click of death" coming from one of the internal IDE drives. By some miracle, the machine did finally boot and is running again. I'm sure I'm on borrowed time here. However I would like to find some way to monitor drive errors so I know which drive is failing so replace the correct drive. I have two in the machine. I've checked /var/log/messages but see no entries there regarding the drive. Is there some utility that will let me see the current number of errors since boot? Thanks, Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, & More! http://www.alchemistswarehouse.com