From owner-freebsd-questions@FreeBSD.ORG Thu May 15 14:14:40 2003 Return-Path: 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 EC9DD37B401 for ; Thu, 15 May 2003 14:14:40 -0700 (PDT) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BA4043F75 for ; Thu, 15 May 2003 14:14:40 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[24.147.188.198]) by attbi.com (sccrmhc03) with ESMTP id <20030515211439003000nsise>; Thu, 15 May 2003 21:14:39 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.9/8.12.7) with ESMTP id h4FLEdYt005706; Thu, 15 May 2003 17:14:39 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h4FLEcnQ005703; Thu, 15 May 2003 17:14:38 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: "Pranav A. Desai" References: From: Lowell Gilbert Date: 15 May 2003 17:14:38 -0400 In-Reply-To: Message-ID: <444r3v6hfl.fsf@be-well.ilk.org> Lines: 7 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: questions@freebsd.org Subject: Re: How to detect hard disk failure ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 21:14:41 -0000 "Pranav A. Desai" writes: > Is there a way to detect hard disk failures using either a shell script > or C program ? So that I can take appropriate action in case of a hard > disk failure. You can keep watch the logs for errors accessing the disks...