Re: Getting rid of pending sectors

"Carlos E. R." <[email protected]> Sat, 22 Oct 2016 23:29:53 +0200
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
On 2016-10-22 20:03, Orsiris de Jong wrote:

> I’ve tried to force the firmware to reallocate the sectors by reading them.

As far as I know, it only happens on write.

My brute force approach is to write to the entire partition with zeroes.
Example:

  dd if=/dev/zero of=/dev/sdb7 bs=10M

-- 
Cheers / Saludos,

		Carlos E. R.
		(from 13.1 x86_64 "Bottle" at Telcontar)

------------------------------------------------------------------------------
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, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlgL2loACgkQtTMYHG2NR9XG7gCfQX0VO7yydqvX94aRlixceJKl
6WEAn3fDK6NEoqFJHTm8CsyaLDS1ZoRL
=mnQA
-----END PGP SIGNATURE-----