Hot-changing a failed HDD with ahci.ko

Patrick M. Hausen hausen at punkt.de
Wed Dec 14 12:49:31 UTC 2011


Hi!

Am 14.12.2011 um 10:52 schrieb Patrick M. Hausen:
> Yes - my fault. I had an active swap partition on the disk which perfectly
> explains the panic.

I replaced that one with a gmirror device, now.

>> You might try booting RELENG_9 (which has ahci.ko as the default, so no
>> need to mess about) on a LiveCD or equivalent and attempt the same
>> thing.  I'm left wondering if there's some stuff in RELENG_8 (not a typo
>> compared to the above RELENG_9 reference) that you do not have in
>> RELENG_8_2.
> 
> I'll try upgrading to RELENG_8 first and report the results.


datatomb2# uname -a
FreeBSD datatomb2.pluspunkthosting.de 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Dec 14 12:44:07 CET 2011     root at datatomb2.pluspunkthosting.de:/usr/obj/usr/src/sys/GENERIC  amd64

Yank disk:
ada1:GEOM_MIRROR: Device swap: provider ada1p2 disconnected.
(ahcich1:0:0:0): lost device
(ada1:ahcich1:0:0:0): removing device entry

Put it back in:
ada1 at ahcich1 bus 0 scbus2 target 0 lun 0
ada1: <ST31000340NS SN05> ATA-8 SATA 2.x device
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)

And I get ZFS v28, too :-))

Thanks and kind regards,
Patrick
-- 
punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe
Tel. 0721 9109 0 * Fax 0721 9109 100
info at punkt.de       http://www.punkt.de
Gf: Jürgen Egeling      AG Mannheim 108285





More information about the freebsd-stable mailing list