Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2020 21:02:22 +0200
From:      Stefan Bethke <stb@lassitu.de>
To:        "bsd-lists@bsdforge.com" <bsd-lists@BSDforge.com>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: make kernel ignore broken SATA disk
Message-ID:  <0A3D11B8-23ED-4435-80D6-904E29F119F4@lassitu.de>
In-Reply-To: <07a08db448daa9dd32b187330666f852@udns.ultimatedns.net>
References:  <07a08db448daa9dd32b187330666f852@udns.ultimatedns.net>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Am 12.04.2020 um 20:44 schrieb Chris <bsd-lists@BSDforge.com>:
> 
> On Sun, 12 Apr 2020 16:37:06 +0200 Stefan Bethke stb@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@lassitu.de>   Fon +49 151 14070811


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

iQEzBAEBCgAdFiEEJ+hF98o4r3eU/HiPD885WK4W4sEFAl6TZb4ACgkQD885WK4W
4sGW7gf9F6hvtr5YIX8JEzr5XFMaL//uN6GLVQtDCZjBTAtt3uQY78w8OG123ZaW
YmmcbDUyN2i/uZTsjIwq1OTErkLRN+exR6ERcLEj9OFSS8YzD6P3LwXiBt3oFv75
Dd7dvJzEdKSeZcPtP6cMiuDplcFOecklnFEjsxcb3U8PCF80LnJVRxXk+voDKPe5
DsfVDiMBfD8P/0UbpY1+Br2+IcUZMIhyn2MGOxIyvhAHU5TMsuPzbiGl0EhVFBOf
RaBpGp/YV0pF44qwl/rCzcj2+FLNwBy9xC02lrDGs8zTEYFy3eM1QRJqoDuptmBA
tJEsIsw9myfWQ4XMgbVvEyDyqaXa0Q==
=WO/B
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0A3D11B8-23ED-4435-80D6-904E29F119F4>