make kernel ignore broken SATA disk
Stefan Bethke
stb at lassitu.de
Sun Apr 12 16:30:30 UTC 2020
Am 12.04.2020 um 18:29 schrieb Eugene Grosbein <eugen at 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 at 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
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/390c4077/attachment.sig>
More information about the freebsd-stable
mailing list