SATA Hotplug kills uninvolved gRAID3

David Rotermund davrotbsd at neuro.uni-bremen.de
Fri Sep 9 13:36:08 PDT 2005


Hi,

I am using two Promise TX4 SATA II 150 controllers in one computer. To
the controllers three hard-disks for backups and three hard-disks for a
RAID3 storage (graid3) are attached.

The idea was to change the hard-disks for the backup via hotswap on a
regular basis, while the RAID disks remain untouched. But if I (remove
and) connect only one backup disk while the system is running
then FreeBSD also re-connects many (but not all) uninvolved SATA drives.
At the end, the RAID is broken which is not so good...  Is there a way
to block the hotplug feature for the RAID - ATA channels ? Or is there
another workaround/fix? 

Sep  9 20:52:02 live2 kernel: subdisk8: detached
Sep  9 20:52:02 live2 kernel: ad8: detached
Sep  9 20:52:02 live2 kernel: ata4: DISCONNECTED
Sep  9 20:52:02 live2 kernel: subdisk14: detached
Sep  9 20:52:02 live2 kernel: ad14: detached
Sep  9 20:52:02 live2 kernel: GEOM_RAID3: Device home: provider ad14
disconnecte d.
Sep  9 20:52:02 live2 kernel: ata7: DISCONNECTED
Sep  9 20:52:02 live2 kernel: subdisk18: detached
Sep  9 20:52:02 live2 kernel: ad18: detached
Sep  9 20:52:02 live2 kernel: ata9: DISCONNECTED
Sep  9 20:52:02 live2 kernel: ata5: CONNECTED
Sep  9 20:52:02 live2 kernel: ad10: 190782MB <WDC WD2000JD-22HBC0
08.02D08> at a ta5-master SATA150
Sep  9 20:52:02 live2 kernel: ata9: CONNECTED
Sep  9 20:52:02 live2 kernel: ad18: 190782MB <WDC WD2000JD-22HBC0
08.02D08> at a ta9-master SATA150
Sep  9 20:52:02 live2 kernel: ata7: CONNECTED
Sep  9 20:52:02 live2 kernel: ad14: 238475MB <WDC WD2500SD-01KCC0
08.02D08> at a ta7-master SATA150
Sep  9 20:52:02 live2 kernel: GEOM_RAID3: Device home: provider ad14
detected.
Sep  9 20:52:02 live2 kernel: GEOM_RAID3: Device home: rebuilding
provider ad14
Sep  9 20:52:02 live2 kernel: ata4: CONNECTED
Sep  9 20:52:02 live2 kernel: ad8: 190782MB <WDC WD2000JD-22HBC0
08.02D08> at at a4-master SATA150

best regards

David






More information about the freebsd-current mailing list