From owner-freebsd-current@FreeBSD.ORG Fri Oct 29 17:49:39 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 351D416A4CE for ; Fri, 29 Oct 2004 17:49:39 +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 A31C643D49 for ; Fri, 29 Oct 2004 17:49:38 +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 886CD1C6743; Fri, 29 Oct 2004 14:49:28 -0300 (BRST) Received: from [192.168.0.97] (unknown [200.181.211.95]) by srv1a-cta.bs2.com.br (Postfix) with ESMTP id 4E42C1C6708; Fri, 29 Oct 2004 14:49:27 -0300 (BRST) Message-ID: <41828271.60808@tirloni.org> Date: Fri, 29 Oct 2004 14:48:33 -0300 From: "Giovanni P. Tirloni" User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Putinas Piliponis References: <217202CB5FF8AE439E263CE3D48ECB50757E5D@honda.int.hansa.lt> In-Reply-To: <217202CB5FF8AE439E263CE3D48ECB50757E5D@honda.int.hansa.lt> 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-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 17:49:39 -0000 Putinas Piliponis wrote: > atacontrol addspare ar0 ad6 should do the trick If I try that with the ad6 disk removed I get the following error: atacontrol: ioctl(ATARAIDADDSPARE): Device not configured If I insert the disk I had removed (but this time I formated it through the BIOS) it panics with the following message: ar0: 152627MB [19457/255/63] status: READY subdisks: disk0 READY on ad4 at ata2-master disk1 READY on ad6 at ata3-master SPM: AP CPU #1 Launched! Mounting root from ufs:/dev/ar0s1a /: bad dir ino 2 at offset 0: mangled entry /: bad dir ino 2 at offset 0: mangled entry /: bad dir ino 2 at offset 0: mangled entry /: bad dir ino 2 at offset 0: mangled entry /: bad dir ino 2 at offset 0: mangled entry init: not found in path /sbin/init:/sbin/oinit:/sbin/init.bak: /stand/sysinstall panic: no init cpuid = 1 boot() called on cpu#1 Uptime: 1s I'm worried about how am I going to replace a dead disk if it won't let me boot with a new disk inserted as ad6. Thanks, -- Giovanni P. Tirloni