From owner-freebsd-current@FreeBSD.ORG Fri Sep 9 20:36:08 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80EB816A41F for ; Fri, 9 Sep 2005 20:36:08 +0000 (GMT) (envelope-from davrotbsd@neuro.uni-bremen.de) Received: from neuro.uni-bremen.de (www.neuro.uni-bremen.de [134.102.192.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3CA843D45 for ; Fri, 9 Sep 2005 20:36:03 +0000 (GMT) (envelope-from davrotbsd@neuro.uni-bremen.de) Received: (qmail 15988 invoked from network); 9 Sep 2005 20:26:08 -0000 Received: from stream.itp.uni-bremen.de (HELO horas.neuro.itp) (134.102.186.160) by 0 with SMTP; 9 Sep 2005 20:26:08 -0000 From: David Rotermund To: freebsd-current@freebsd.org Content-Type: text/plain Date: Fri, 09 Sep 2005 22:35:58 +0200 Message-Id: <1126298158.19509.2.camel@horas.neuro.itp> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 (2.2.2-5) Content-Transfer-Encoding: 7bit Subject: SATA Hotplug kills uninvolved gRAID3 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2005 20:36:08 -0000 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 at a ta5-master SATA150 Sep 9 20:52:02 live2 kernel: ata9: CONNECTED Sep 9 20:52:02 live2 kernel: ad18: 190782MB at a ta9-master SATA150 Sep 9 20:52:02 live2 kernel: ata7: CONNECTED Sep 9 20:52:02 live2 kernel: ad14: 238475MB 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 at at a4-master SATA150 best regards David