make kernel ignore broken SATA disk

Stefan Bethke stb at lassitu.de
Sun Apr 12 19:02:25 UTC 2020


Am 12.04.2020 um 20:44 schrieb Chris <bsd-lists at BSDforge.com>:
> 
> On Sun, 12 Apr 2020 16:37:06 +0200 Stefan Bethke stb at lassitu.de said
> 
>> 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".
> FTR it's gpart destroy -F (note the case difference) :-)

Sorry, that was a typo in the transcription. Even when using -F, it won't delete the table.


Stefan

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 529 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20200412/78407f7e/attachment.sig>


More information about the freebsd-stable mailing list