From owner-freebsd-questions@FreeBSD.ORG Fri Oct 29 12:25:17 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAAD616A4CE; Fri, 29 Oct 2004 12:25:17 +0000 (GMT) Received: from srv1a-cta.bs2.com.br (srv1a-cta.bs2.com.br [200.203.183.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 720E843D45; Fri, 29 Oct 2004 12:25:17 +0000 (GMT) (envelope-from gpt@tirloni.org) Received: from localhost (srv1a-cta.bs2.com.br [200.203.183.35]) by srv1a-cta.bs2.com.br (Postfix) with ESMTP id 336051C6001; Fri, 29 Oct 2004 09:25:15 -0300 (BRST) Received: from [192.168.0.97] (unknown [200.181.211.95]) by srv1a-cta.bs2.com.br (Postfix) with ESMTP id AE8281C5FC9; Fri, 29 Oct 2004 09:25:14 -0300 (BRST) Message-ID: <41823674.1000609@tirloni.org> Date: Fri, 29 Oct 2004 09:24:20 -0300 From: "Giovanni P. Tirloni" User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org References: <418102FC.4070103@tirloni.org> In-Reply-To: <418102FC.4070103@tirloni.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: atacontrol and SATA RAID X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Oct 2004 12:25:18 -0000 Giovanni P. Tirloni wrote: > Hi, > > I've a Intel SE7210TP1 motherboard with Adaptec HostRAID and I've > created a RAID1 array with 2 SATA disks using the following command: > > atacontrol create RAID1 ad4 ad6 > > The system installed on /dev/ar0 just fine and I played a bit with > atacontrol detaching and attaching the disks. > > Detaching ad6 worked without problems with the following commands: > > atacontrol detach 3 > atacontrol attach 3 > atacontrol rebuild 0 > > But when I tried to detach ad4 (after rebuilding array from previous > detachment) I got an error saying the array was broken. Now when booting > it shows this: > > ar0: 152627MB [19457/255/63] status: DEGRADED subdisks: > disk0 READY on ad4 at ata2-master > disk1 DOWN no device found for this disk > > but atacontrol list shows ad6 there. So my question is: what's the > proper way of doing de attach/detach operation ? > I did a fresh install then turned the machine off and removed on disk. It booted again just fine. Then I turned it off again and inserted the disk I had removed. Now it will panic: panic: softdep_setup_inomapdep: found inode cpuid = 0 boot() called on cpu#0 Uptime: 2s If I removed the disk and boot again it will work and show the following message: ar0: 152627MB [19457/255/63] status: DEGRADED 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 read I'm not really using the controller's RAID support but only the RAID support present in the ata subsystem. Is that true ? In the BIOS I don't have any arrays. Thank you, -- Giovanni P. Tirloni