From owner-freebsd-questions@FreeBSD.ORG Wed Oct 28 19:55:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C9C5106566B for ; Wed, 28 Oct 2009 19:55:27 +0000 (UTC) (envelope-from michaelgrunewald@yahoo.fr) Received: from smtp6.netcologne.de (smtp6.netcologne.de [194.8.194.26]) by mx1.freebsd.org (Postfix) with ESMTP id 0FFDA8FC13 for ; Wed, 28 Oct 2009 19:55:26 +0000 (UTC) Received: from llea.celt.neu (xdsl-81-173-228-131.netcologne.de [81.173.228.131]) by smtp6.netcologne.de (Postfix) with ESMTP id 82C382A07A9; Wed, 28 Oct 2009 20:55:25 +0100 (CET) Message-ID: <4AE8A1B3.2070503@yahoo.fr> Date: Wed, 28 Oct 2009 20:55:31 +0100 From: =?ISO-8859-1?Q?Micha=EBl_Gr=FCnewald?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.23) Gecko/20090919 SeaMonkey/1.1.18 MIME-Version: 1.0 To: Polytropon References: <20091027150519.dcee178a.freebsd@edvax.de> <4AE75293.5020603@yahoo.fr> <20091028125215.55ad3801.freebsd@edvax.de> In-Reply-To: <20091028125215.55ad3801.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd questions general Subject: Re: Bad sectors: how bad can it be 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, 28 Oct 2009 19:55:27 -0000 Polytropon wrote: > On Tue, 27 Oct 2009 21:05:39 +0100, Michaël Grünewald wrote: >> I have however a question: How do I verify that >> a hard-drive is accurately working if its firmware will hide the bad >> sectors as long as possible? > > I think the smartctl program from ports/smartmontools is > a good tool for such verification. As far as I understood, > it can read internal error logs from the firmware. Hi, following your suggestion I used smartmon to get access to the SMART data. I have run an extended offline test (with-t offline I think). The test reported no error (!) and the bad sectors are now read/writeable (!!). Is it safe to think the problem is gone? # smartctl -l selftest /dev/ad10 === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed without error 00% 458 - # 2 Extended offline Aborted by host 70% 456 -- Best regards, Michaël