Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2020 18:24:09 +0200
From:      Stefan Bethke <stb@lassitu.de>
To:        Slawa Olhovchenkov <slw@zxy.spb.ru>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: make kernel ignore broken SATA disk
Message-ID:  <9D60946A-6D81-444B-B6D0-36202B3BE5C6@lassitu.de>
In-Reply-To: <20200412154319.GO8028@zxy.spb.ru>
References:  <A33629CA-63EC-45AA-AB06-09B003BBB0A6@lassitu.de> <20200412154319.GO8028@zxy.spb.ru>

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

--Apple-Mail=_A775B64F-4150-456D-B93F-2AA51091F7B7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Am 12.04.2020 um 17:43 schrieb Slawa Olhovchenkov <slw@zxy.spb.ru>:
>=20
> On Sun, Apr 12, 2020 at 04:37:06PM +0200, Stefan Bethke wrote:
>=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).
>>=20
>> 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.
>>=20
>> I already renamed the GPT partitions in the hope that ZFS would not =
find them anymore, but it does.
>>=20
>> I can't gpart destroy -f ada1 because "device busy".
>>=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 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.
>=20
> `zpool offline pool device` if you have enoght redundancy?

I do, but the command doesn't return. Instead, I'm getting loads of sata =
error message.

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


--Apple-Mail=_A775B64F-4150-456D-B93F-2AA51091F7B7
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/HiPD885WK4W4sEFAl6TQKkACgkQD885WK4W
4sHhmwf+Nco2VbIYWnAg8ed9pY27p9u1orH7qZE3WLH1HgaDlpHun1Wnf8rFmMoX
Va2qkc5r/vNx0SdSZYBs+EYcgpc31wxs0VhGOokaVZdvjOYDn6c5g4ZKvV3U2iXs
33i/DNUOiXk8ytjaR2c//9n9EddWyngDVPYCSKjRBERh94qN8+556gh8EKkogEva
4RWZdgSSR8uut+tz9fyuqOxwNDLT3DakZm1IFw3LNxtW6o2tQrqtuO7es6NU0edL
tzUTxhEiipQoYfgs7yglNZEWPuME/ol9VySpzaGTqRe/4b5b8YKyWb1K9bdu4FJu
qZkqx50WSp2gS0xXqXScIRDwRKjgVA==
=zWCW
-----END PGP SIGNATURE-----

--Apple-Mail=_A775B64F-4150-456D-B93F-2AA51091F7B7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9D60946A-6D81-444B-B6D0-36202B3BE5C6>