From owner-freebsd-questions@FreeBSD.ORG Tue Aug 17 17:04:17 2004 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 2A21816A4CE for ; Tue, 17 Aug 2004 17:04:17 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id D364E43D1F for ; Tue, 17 Aug 2004 17:04:16 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.11/8.12.11) id i7HH4FI7031140; Tue, 17 Aug 2004 12:04:16 -0500 (CDT) (envelope-from dan) Date: Tue, 17 Aug 2004 12:04:15 -0500 From: Dan Nelson To: doug@polands.org Message-ID: <20040817170415.GD53307@dan.emsphone.com> References: <20040817155512.GB21780@omniresources.com> <20040817160819.GA53307@dan.emsphone.com> <20040817165258.GD21780@omniresources.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040817165258.GD21780@omniresources.com> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: questions@freebsd.org Subject: Re: Harddrive beginning to expire? 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: Tue, 17 Aug 2004 17:04:17 -0000 In the last episode (Aug 17), doug@polands.org said: > On Tue, Aug 17, 2004 at 11:08:19AM -0500, Dan Nelson wrote: > > It probably still has some life left in it. It looks like you > > don't have automatic write reallocation enabled, since the block > > number is the same on both requests. You can enable it by running > > "camcontrol mode da5 -e -m 1 -P 3", and setting AWRE to 1. That > > will let the drive remap that disk block to a spare one. You can > > monitor how many blocks have been reallocated by viewing the grown > > defect list: "camcontrol defects da5 -f phys -G". If you use -P > > instead of -G, you can see the primary defect list, which is a list > > of all the bad blocks found when the disk was shipped. > > Great! Am I correct in assuming that these commands should be issued > in single user mode with the vinum volume not mounted? You can run them at any time. The AWRE change should be immediate, and the defects command is just a status inquiry and won't affect anything. Some drives don't update the current settings until the drive is reset, so if "camcontrol mode da5 -m 1 -P 0" shows AWRE at 0 while "-P 3" shows it at 1, you may need to reset the drive ("camcontrol reset da5" with the vinum volume dismounted, or a power-cycle). -- Dan Nelson dnelson@allantgroup.com