Date: Thu, 5 Jul 2018 16:33:52 +1000 From: Peter Jeremy <peter@rulingia.com> To: "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net> Cc: Eugene Grosbein <eugen@grosbein.net>, FreeBSD Hackers <freebsd-hackers@freebsd.org>, George Mitchell <george+freebsd@m5p.com> Subject: Re: Confusing smartd messages Message-ID: <20180705063352.GA76985@server.rulingia.com> In-Reply-To: <201807050105.w6515uRD045567@pdx.rh.CN85.dnsmgr.net> References: <5B3D6975.2060508@grosbein.net> <201807050105.w6515uRD045567@pdx.rh.CN85.dnsmgr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2018-Jul-04 18:05:56 -0700, "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.= dnsmgr.net> wrote: >It would be really nice if we had a way to tell ZFS to >do the equivelent of: > dd if=3D/dev/ada1 of=3D/dev/ada1 bs=3D128k conv=3Dnoerror,sync >in some type of lowlevel scrub operation, with proper locking >which could easily repair most of these Pending Sector errors, Agreed. >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. As a workaround,=20 dd if=3D/dev/ada1 of=3D/dev/null bs=3D128k conv=3Dnoerro will report any errors. You can then write zeroes or garbage to those sectors (optionally followed by a scrub if you overwrote more than the faulty sectors) --=20 Peter Jeremy --AhhlLboLdkugWU4S Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAls9u9BfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzQbsA/9FifYQ2JV3Z1zHytFLjdDvc3w5scXtUR8aCbKIU4t//iWZO1aqhFSyr2/ W2POZz+WVILYMDn6gtNoQV3bm4HIGawcUe4tlQjiCGSfRkM12Sn5nvm2rR8myM4V u2lQNjjuHPA54jAy2ouKpiAn+IHilgof7KIJJNG+//CLZPxACySDx1Ve8Dch4pSs gu8Th3SeGBjQg5WahWhQ7n3BqfFFyPGqpm11yZHv0vt9kM5DwH8WrkjUvDAZyxxW WegwYXYK1HhEs+p3mHjUW2ELE8C4DrNx3eYNsnYHbucnXUbHVyK7zGbdVdERWpqS adkdhNB0qBHGpW7SMrgh1Q9woSeADJdvPFiLR4+ZjOJfsvhuL4XVdsc4tJjmHRKn mFnqCVGQE9StoHGk38UJtTlGJa1Ejv9CfWfGGO9imvnU0Omb4Wgm8gNZ9jXaZrSO K/FmxlQMNRolfyZFfFmHQS1XlMcV0DEh4U0uJAUEdEq5sVzYT7+ooRab97GNhB9i KvCSL8dMmekRA5HuOq8of4jQQWSHWZgEDWXuNZxolzdy5QU0Qb4E7LtiC0zpl78C FjOsXLAbcoLyHe0T6RiyRqEqtftdyc8yXM9rDJVJgN43vudz8kQAlTz9t+wZ2aPJ C1uKOgP41U8Rkfl2hjwP542uOdUR6A8LKubR6vUzZEb7Vc3HhWs= =/V3W -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180705063352.GA76985>