Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2020 16:37:06 +0200
From:      Stefan Bethke <stb@lassitu.de>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   make kernel ignore broken SATA disk
Message-ID:  <A33629CA-63EC-45AA-AB06-09B003BBB0A6@lassitu.de>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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).

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.

I already renamed the GPT partitions in the hope that ZFS would not find them anymore, but it does.

I can't gpart destroy -f ada1 because "device busy".

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.


Stefan

--
Stefan Bethke <stb@lassitu.de>   Fon +49 151 14070811


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEzBAEBCgAdFiEEJ+hF98o4r3eU/HiPD885WK4W4sEFAl6TJ5IACgkQD885WK4W
4sF50gf9G3t46VRvzrSuAbyerf6y3hg8Mls8/s+DWIgzBSuGDE2NNJZv7SQKEq0+
n3fIKvc6C0P6dAMYjSFUxGaqKlEiQuwflEXjxAKcgEH7zYtNoZysiMPRI9bhuy59
K4Znn/poSyjFQWgCUzHAwM63I73dTMysDYiNYIADYCNoxh8eDN6nmC3Kmt6FrDux
IuBxn6kWBCTImRfEDjXww9FhPmd/6OddbQBaK1OeinYbMBIPCSb3dV2+I0wiQGW+
rBTiXZG4+MPXkeP0ScmAf4ob6oDyr8FT1gl+dXZeGKAk3HXhRc8Pf6/XcB4agMfO
Yzlf7MP9dA6ipqO2h0A4oniQruXSfg==
=zwnU
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A33629CA-63EC-45AA-AB06-09B003BBB0A6>