Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2018 21:25:47 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net>
To:        Eugene Grosbein <eugen@grosbein.net>
Cc:        George Mitchell <george+freebsd@m5p.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Confusing smartd messages
Message-ID:  <201807050425.w654PlLu046202@pdx.rh.CN85.dnsmgr.net>
In-Reply-To: <5B3D70C8.60301@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
[ Charset windows-1252 unsupported, converting... ]
> 05.07.2018 8:05, Rodney W. Grimes wrote:
> 
> > It would of also been nice if the ata standard would of made a way
> > to get the LBA of pending sectors so that a very quick rewrite attempt
> > could be done to fix them.  IIRC this info is avalible, but in a vendor
> > specific way.
> 
> "smartctl -t long" reveals LBA of first pending sector.

That is vendor dependent and well only return the pending sector
if the pending sector fails for most vendors.  It may fix the
sector if it could read it.  This is also a full surface read,
so not a direct path to get the LBA's that are in the
pending list.

The software that comes with a PC3000 can get this list
from most drives, but it knows a lot of vendor specific,
and often even undocumented commands.

-- 
Rod Grimes                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807050425.w654PlLu046202>