Date: Tue, 17 Aug 2004 12:04:15 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: doug@polands.org Cc: questions@freebsd.org Subject: Re: Harddrive beginning to expire? Message-ID: <20040817170415.GD53307@dan.emsphone.com> In-Reply-To: <20040817165258.GD21780@omniresources.com> References: <20040817155512.GB21780@omniresources.com> <20040817160819.GA53307@dan.emsphone.com> <20040817165258.GD21780@omniresources.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040817170415.GD53307>
