Re: how to control how often smartd-runner fires.

"Carlos E. R." <[email protected]> Thu, 19 Jan 2017 02:45:02 +0100
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
On 2017-01-19 00:27, Ray Andrews wrote:
> On 18/01/17 02:00 PM, Carlos E. R. wrote:
>> On 2017-01-18 18:22, Ray Andrews wrote:
>>>  Also, I get the same message over and over again about my 77 pending
>>> sectors, but it's been 77 pending sectors for years, and I'd really
>>> rather not seeany further notifications about it untilsomethingelse goes
>>> wrong. 
>> Maybe you should try to "repair" them.
> How?  I've presumed that bad sectors are bad sectors forever.


No, they get relocated.

Hard disks have an area dedicated since manufacture to relocate bad
sectors, automatically when trying to write to a bad sector. The pending
sector value means just that: they are marked for realocation the
instant you try to read them, and there is a count of them.

How to do that?

One method is backup the affected partition, fill it up with zeroes with
dd, format and restore.

However, just running "badblocks" on it may do the trick.

-- 
Cheers / Saludos,

		Carlos E. R.

  (from 42.2 x86_64 "Malachite" (Minas Tirith))

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
Smartmontools-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
signature.asc (application/pgp-signature, 213 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iF4EAREIAAYFAliAGh4ACgkQja8UbcUWM1ywogD+OpPzmXBBWUPz1we5xuFTbiA5
bmduPtFeK/ZJX1N7w8IBAIHBtsY0SOEEN+BCvdeiySRw75gFB0TYu+ZFT7AujYkK
=v2SV
-----END PGP SIGNATURE-----