From owner-freebsd-stable@freebsd.org Sun Apr 12 19:02:25 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D03832C5E74 for ; Sun, 12 Apr 2020 19:02:25 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [212.12.50.234]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "gilb.zs64.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 490h2S6dndz4VhF for ; Sun, 12 Apr 2020 19:02:24 +0000 (UTC) (envelope-from stb@lassitu.de) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 788BB209121; Sun, 12 Apr 2020 19:02:22 +0000 (UTC) From: Stefan Bethke Message-Id: <0A3D11B8-23ED-4435-80D6-904E29F119F4@lassitu.de> Content-Type: multipart/signed; boundary="Apple-Mail=_1AFC4AC2-7AC7-4F1A-9D00-A6B59F9CC495"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: make kernel ignore broken SATA disk Date: Sun, 12 Apr 2020 21:02:22 +0200 In-Reply-To: <07a08db448daa9dd32b187330666f852@udns.ultimatedns.net> Cc: freebsd-stable To: "bsd-lists@bsdforge.com" References: <07a08db448daa9dd32b187330666f852@udns.ultimatedns.net> X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 490h2S6dndz4VhF X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of stb@lassitu.de designates 212.12.50.234 as permitted sender) smtp.mailfrom=stb@lassitu.de X-Spamd-Result: default: False [-6.90 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; MV_CASE(0.50)[]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; DMARC_NA(0.00)[lassitu.de]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[234.50.12.212.list.dnswl.org : 127.0.10.0]; SIGNED_PGP(-2.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; ASN(0.00)[asn:13135, ipnet:212.12.48.0/21, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-3.00)[ip: (-8.44), ipnet: 212.12.48.0/21(-4.22), asn: 13135(-2.33), country: DE(-0.02)] X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2020 19:02:25 -0000 --Apple-Mail=_1AFC4AC2-7AC7-4F1A-9D00-A6B59F9CC495 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Am 12.04.2020 um 20:44 schrieb Chris : >=20 > On Sun, 12 Apr 2020 16:37:06 +0200 Stefan Bethke stb@lassitu.de said >=20 >> 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 Fon +49 151 14070811 --Apple-Mail=_1AFC4AC2-7AC7-4F1A-9D00-A6B59F9CC495 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/HiPD885WK4W4sEFAl6TZb4ACgkQD885WK4W 4sGW7gf9F6hvtr5YIX8JEzr5XFMaL//uN6GLVQtDCZjBTAtt3uQY78w8OG123ZaW YmmcbDUyN2i/uZTsjIwq1OTErkLRN+exR6ERcLEj9OFSS8YzD6P3LwXiBt3oFv75 Dd7dvJzEdKSeZcPtP6cMiuDplcFOecklnFEjsxcb3U8PCF80LnJVRxXk+voDKPe5 DsfVDiMBfD8P/0UbpY1+Br2+IcUZMIhyn2MGOxIyvhAHU5TMsuPzbiGl0EhVFBOf RaBpGp/YV0pF44qwl/rCzcj2+FLNwBy9xC02lrDGs8zTEYFy3eM1QRJqoDuptmBA tJEsIsw9myfWQ4XMgbVvEyDyqaXa0Q== =WO/B -----END PGP SIGNATURE----- --Apple-Mail=_1AFC4AC2-7AC7-4F1A-9D00-A6B59F9CC495--