From: Bruce Allen <ballen@gr...> - 2004-10-15 13:46:40
I forgot to copy the list
---------- Forwarded message ----------
Date: Fri, 15 Oct 2004 08:28:09 -0500 (CDT)
From: Bruce Allen <ballen@...>
To: Ciro Scognamiglio <moray@...>
Cc: Bruce Allen <ballen@...>
Subject: Re: [smartmontools-support]bad sectors with freebsd
> As you can see the 2 sectors have been reallocated. Now I have got
> another small problem, everytime I reboot and smartd starts I always get
> an email warning about those two sectors.
> Also every half an hour I get this in /var/log/messages:
> Oct 15 14:53:46 linc smartd: Device: /dev/ad0, 2 Offline
> uncorrectable sectors
> How do I get rid of them? I thought those two sectors had been fixed
> (well, isolated maybe)...but still smartd complains...am I missing
Run an offline test:
smartctl -t long /dev/ad0
if it finds no unreadable sectors it should reset the OFFLINE
uncorrectable count to zero.
> I'll post in the list the difference with freebsd from the damaged
> blocks how to as soon as I got some time...
Better still grab the page source for the BadBlockHowTo.txt, edit it, and
send it to me. I'll check it into CVS and upload it.
On Fri, Oct 15, 2004 at 08:46:36AM -0500
Bruce Allen <ballen@...> wrote:
> > Oct 15 14:53:46 linc smartd: Device: /dev/ad0, 2 Offline
> > uncorrectable sectors
> > How do I get rid of them? I thought those two sectors had been fixed
> > (well, isolated maybe)...but still smartd complains...am I missing
> > something?
> Run an offline test:
> smartctl -t long /dev/ad0
> if it finds no unreadable sectors it should reset the OFFLINE
> uncorrectable count to zero.
I run that test 2 times, but I am still getting the
smartd: Device: /dev/ad0, 2 Offline
error in the system log.
smartctl -l selftest /dev/ad0 gives:
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining
# 1 Extended offline Completed without error 00% 136
# 2 Extended offline Completed without error 00% 124
# 3 Extended offline Completed: read failure 00% 118
I have also a couple more questions:
- is the "Remaining" value the % of the remaining test to be done? or
- I always get this messages with smartctl:
smartctl version 5.32 Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
The SMART RETURN STATUS return value (smartmontools -H option/Directive)
can not be retrieved with this version of ATAng, please do not rely on
what does it mean? My freebsd box is updated with the 5.3 beta7