Date: Sun, 12 Apr 2020 11:44:58 -0700 From: Chris <bsd-lists@BSDforge.com> To: Stefan Bethke <stb@lassitu.de> Cc: freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: make kernel ignore broken SATA disk Message-ID: <07a08db448daa9dd32b187330666f852@udns.ultimatedns.net> In-Reply-To: <A33629CA-63EC-45AA-AB06-09B003BBB0A6@lassitu.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 12 Apr 2020 16:37:06 +0200 Stefan Bethke stb@lassitu=2Ede said > I have a server I don't have physical access to right now, which has a br= oken > SATA disk that produces mostly errors (but not entirely)=2E >=20 > The disk has two partitions that are part of a zpool each=2E I can't bring = the > system up with this disk being online, because ZFS is trying its darndest= to > use it=2E >=20 > I already renamed the GPT partitions in the hope that ZFS would not find = them > anymore, but it does=2E >=20 > I can't gpart destroy -f ada1 because "device busy"=2E FTR it's gpart destroy -F (note the case difference) :-) >=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 d= o > have a spare disk I can use to replace the failed one, but I can't get th= e > machine into a state where I could even issue the zpool replace command=2E >=20 >=20 > Stefan >=20 --Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?07a08db448daa9dd32b187330666f852>