From owner-freebsd-current@FreeBSD.ORG Fri Oct 29 13:06:33 2004 Return-Path: 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 5AE9D16A4CE; Fri, 29 Oct 2004 13:06:33 +0000 (GMT) Received: from blues.hansabank.lt (blues.hansabank.lt [193.109.235.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C51E43D39; Fri, 29 Oct 2004 13:06:31 +0000 (GMT) (envelope-from Putinas.Piliponis@hansa.lt) Received: from localhost (localhost [127.0.0.1]) by blues.hansabank.lt (Postfix) with ESMTP id 6D7544635A; Fri, 29 Oct 2004 16:06:29 +0300 (EEST) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable x-mimeole: Produced By Microsoft Exchange V6.0.6556.0 Date: Fri, 29 Oct 2004 16:06:14 +0300 Message-ID: <217202CB5FF8AE439E263CE3D48ECB50757E5D@honda.int.hansa.lt> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: atacontrol and SATA RAID Thread-Index: AcS9sm0xejkfRyiFSXWKFfgmatFC5gABYA9A From: "Putinas Piliponis" To: "Giovanni P. Tirloni" , cc: current@freebsd.org Subject: RE: atacontrol and SATA RAID X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 29 Oct 2004 13:06:33 -0000 atacontrol addspare ar0 ad6 should do the trick -----Original Message----- From: owner-freebsd-current@freebsd.org [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Giovanni P. Tirloni Sent: Friday, October 29, 2004 3:24 PM To: questions@freebsd.org Cc: current@freebsd.org Subject: Re: atacontrol and SATA RAID Giovanni P. Tirloni wrote: > Hi, >=20 > I've a Intel SE7210TP1 motherboard with Adaptec HostRAID and I've=20 > created a RAID1 array with 2 SATA disks using the following command: >=20 > atacontrol create RAID1 ad4 ad6 >=20 > The system installed on /dev/ar0 just fine and I played a bit with=20 > atacontrol detaching and attaching the disks. >=20 > Detaching ad6 worked without problems with the following commands: >=20 > atacontrol detach 3 > atacontrol attach 3 > atacontrol rebuild 0 >=20 > But when I tried to detach ad4 (after rebuilding array from previous=20 > detachment) I got an error saying the array was broken. Now when booting=20 > it shows this: >=20 > ar0: 152627MB [19457/255/63] status: DEGRADED subdisks: > disk0 READY on ad4 at ata2-master > disk1 DOWN no device found for this disk >=20 > but atacontrol list shows ad6 there. So my question is: what's the=20 > proper way of doing de attach/detach operation ? >=20 I did a fresh install then turned the machine off and removed on=20 disk. It booted again just fine. Then I turned it off again and=20 inserted the disk I had removed. Now it will panic: panic: softdep_setup_inomapdep: found inode cpuid =3D 0 boot() called on cpu#0 Uptime: 2s If I removed the disk and boot again it will work and show the=20 following message: ar0: 152627MB [19457/255/63] status: DEGRADED=20 subdisks: disk0 READY on ad4 at ata2-master disk1 DOWN no device found for this disk How can I replace a failed disk with this setup ? Given what I've=20 read I'm not really using the controller's RAID support but only the=20 RAID support present in the ata subsystem. Is that true ? In the BIOS=20 I don't have any arrays. Thank you, --=20 Giovanni P. Tirloni _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"