Date: Sun, 12 Apr 2020 19:13:14 +0200 From: Stefan Bethke <stb@lassitu.de> To: Ian Lepore <ian@FreeBSD.org> Cc: freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: make kernel ignore broken SATA disk Message-ID: <A180AFDB-8C97-4627-ACEF-FF1232D9F69A@lassitu.de> In-Reply-To: <36793c9efb905968508e94690b59d926f30af36b.camel@freebsd.org> References: <A33629CA-63EC-45AA-AB06-09B003BBB0A6@lassitu.de> <36793c9efb905968508e94690b59d926f30af36b.camel@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_0DF36CDA-6283-496E-A5B1-9968ABAF3E4E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Am 12.04.2020 um 18:53 schrieb Ian Lepore <ian@FreeBSD.org>: >=20 > On Sun, 2020-04-12 at 16:37 +0200, Stefan Bethke wrote: >> I have a server I don't have physical access to right now, which has >> a broken SATA disk that produces mostly errors (but not entirely). >>=20 >> The disk has two partitions that are part of a zpool each. I can't >> bring the system up with this disk being online, because ZFS is >> trying its darndest to use it. >>=20 >> I already renamed the GPT partitions in the hope that ZFS would not >> find them anymore, but it does. >>=20 >> I can't gpart destroy -f ada1 because "device busy". >>=20 >> Is there a way, ideally in the loader, to tell the kernel to ignore >> ada1 and/or ahcich5? Or can I force ZFS some other way to ignore the >> disk? I do have a spare disk I can use to replace the failed one, but >> I can't get the machine into a state where I could even issue the >> zpool replace command. >=20 > The the loader prompt (or in loader.conf without 'set'): >=20 > set hint.ada.1.disabled=3D1 Doesn't seem to have any effect. ada1 still probed, and still prints = error messages to the console. Stefan -- Stefan Bethke <stb@lassitu.de> Fon +49 151 14070811 --Apple-Mail=_0DF36CDA-6283-496E-A5B1-9968ABAF3E4E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEzBAEBCgAdFiEEJ+hF98o4r3eU/HiPD885WK4W4sEFAl6TTCoACgkQD885WK4W 4sFGzgf/dTUeAUKgTpnEyyYsBjWvyewSZ4klsoVUCIvOdeqy0t2NGgh/ntiTJIF2 ttIzdvFLdroaVvVRv+X++ziKyE+iBK4Jr7TrhYjG5C1zGTNDXkLAiWlXxDcYAVsj HVYLOXfpxqB9ZqlHs5OX+vqoDr//tJy492594pCfvRy6uSVtA3xJqBF2XhK6qmeZ TZmo4ZywUkOFR75f2tHfX/y07tjRba8erwVe5bjUoOl+ZIrd87P64G5Bf0O2yzIG Jk0SOoRzp2AMvTSEeTdeaX6kjS0U9c3xalBxoidoT8x5YAsppepBxurjTPQiYQhr wCa6AXbn/vyu4OfSbJigbFf1cz/dCA== =9xFt -----END PGP SIGNATURE----- --Apple-Mail=_0DF36CDA-6283-496E-A5B1-9968ABAF3E4E--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A180AFDB-8C97-4627-ACEF-FF1232D9F69A>