Date: Mon, 13 Apr 2020 00:24:49 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Stefan Bethke <stb@lassitu.de> Cc: freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: make kernel ignore broken SATA disk Message-ID: <67927c81-1e11-ddbc-3cce-e3e9589b47e5@grosbein.net> In-Reply-To: <822985BC-3EB3-4B38-84B1-9F248A76D94E@lassitu.de> References: <A33629CA-63EC-45AA-AB06-09B003BBB0A6@lassitu.de> <14aeff4a-9241-20ef-2827-5a5282d08a94@grosbein.net> <EB35C42B-D200-4416-ABF8-B356A53BDA0B@lassitu.de> <cd4cbeda-d000-416f-97b6-af3c5c53cd1a@grosbein.net> <822985BC-3EB3-4B38-84B1-9F248A76D94E@lassitu.de>
next in thread | previous in thread | raw e-mail | index | archive | help
12.04.2020 23:30, Stefan Bethke пишет: > Am 12.04.2020 um 18:29 schrieb Eugene Grosbein <eugen@grosbein.net <mailto:eugen@grosbein.net>>: >> >> 12.04.2020 21:57, Stefan Bethke wrote: >> >>>>> 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. >>>> >>>> It depends on the HDD controller the disk is attached to. What controller and driver does it have? >>> >>> This is from an identlical machine without disk issues: >>> >>> # camcontrol devlist >>> <ST3000DM001-1CH166 CC27> at scbus4 target 0 lun 0 (ada0,pass0) >>> <ST3000DM001-1CH166 CC27> at scbus5 target 0 lun 0 (ada1,pass1) >>> <ST3000DM001-1CH166 CC27> at scbus6 target 0 lun 0 (ada2,pass2) >>> <AHCI SGPIO Enclosure 2.00 0001> at scbus8 target 0 lun 0 (pass3) >>> # pciconf -lv >>> ... >>> ahci0@pci0:0:23:0:class=0x010601 card=0x088415d9 chip=0xa1028086 rev=0x31 hdr=0x00 >>> vendor = 'Intel Corporation' >>> device = 'Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode]' >>> class = mass storage >>> subclass = SATA >> >> And your FreeBSD version? > > FreeBSD 12.1-STABLE r358833 amd64 Try something like this at loader prompt: set hint.ahcich.5.disabled=1 or set hint.ada.1.disabled=1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?67927c81-1e11-ddbc-3cce-e3e9589b47e5>