From owner-freebsd-fs@FreeBSD.ORG Sat Apr 5 04:45:48 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9156F37B401 for ; Sat, 5 Apr 2003 04:45:48 -0800 (PST) Received: from magic.adaptec.com (magic-mail.adaptec.com [208.236.45.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5C0F43F85 for ; Sat, 5 Apr 2003 04:45:47 -0800 (PST) (envelope-from scottl@btc.adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6/8.11.6) with ESMTP id h35CiBZ18741; Sat, 5 Apr 2003 04:44:11 -0800 Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [10.100.0.52]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id EAA17994; Sat, 5 Apr 2003 04:45:21 -0800 (PST) Received: from hollin.btc.adaptec.com (hollin [10.100.253.56]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id FAA00566; Sat, 5 Apr 2003 05:45:16 -0700 (MST) Received: from hollin.btc.adaptec.com (localhost [127.0.0.1]) h35CgXx8037074; Sat, 5 Apr 2003 05:42:33 -0700 (MST) (envelope-from scottl@hollin.btc.adaptec.com) Received: (from scottl@localhost) by hollin.btc.adaptec.com (8.12.8/8.12.8/Submit) id h35CgVGw037073; Sat, 5 Apr 2003 05:42:31 -0700 (MST) Date: Sat, 5 Apr 2003 05:42:31 -0700 From: Scott Long To: "Michael G. Jung" Message-ID: <20030405124231.GF36962@hollin.btc.adaptec.com> References: <9D7F0DF3FB16D41184010050DA90E000BF6631@neo.confluentasp.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9D7F0DF3FB16D41184010050DA90E000BF6631@neo.confluentasp.local> User-Agent: Mutt/1.4i cc: freebsd-fs@freebsd.org Subject: Re: 5.0 Raidframe / SMP / Questions X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2003 12:45:48 -0000 On Fri, Apr 04, 2003 at 06:21:50PM -0500, Michael G. Jung wrote: > First I'm new to raidframe... but I have a few questions/problems - thanks to all > in advance... > > --mikej > Michael Jung > > The scenario - I have 20xFastWide 18.2 disks - would like to mirror two for boot > 2 hot spare and use 16 raid 5(4?).... I'm looking for drive space and not necessarily > raw speed. > > I'm testing with: > > FreeBSD dual-450.mikej.com 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003 root@hollin.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 > > 0) I've been reading the netbsd list and it seems problems exist with smp... is that > the case with FreeBSD ???? There are a lot of issues with the locking semantics in RAIDframe that make it at risk in SMP. A lot of work needs to be done to fix it, unfortunately. > > 1) "man raidcontrol" indicates that you need to set the disklabel to "RAID" if you want > the kernel to boot from the partition but disklabel stubbornly insists that "RAID" is not a valid > type... I get this error when trying to do so with disklabel...... > > "line 23: Warning, unknown file system type RAID" > > and it kindly marks the partion type to "unknown" This broke with the disk layer and GEOM changes that happened late in the 5.0 cycle. Even if you could label it correctly, the code to automatically enumerate disks at boot time is broken an commented out. > > 2) Does RAID 4 work????? for write performance would this not be a better option? I tested RAID-4 early on in my development, but haven't touched it recently. It should still work to the best of my knowledge. > > 3) I have two drives in the chain that I get "unknown IOCTL" when they are in my raid > config... yet they are labeled exactly like the rest..... this is when running raidctl -C myconfigfile > (yeah da3s1e and da9s1e are the culprits) What is the error message? Scott