From owner-freebsd-current@FreeBSD.ORG Fri Jun 25 16:26:36 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 39DD316A4DA for ; Fri, 25 Jun 2004 16:26:36 +0000 (GMT) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBD3D43D5A for ; Fri, 25 Jun 2004 16:26:35 +0000 (GMT) (envelope-from paul@gromit.dlib.vt.edu) Received: from hawkwind.Chelsea-Ct.Org (pool-151-199-118-22.roa.east.verizon.net [151.199.118.22]) by gromit.dlib.vt.edu (8.12.11/8.12.11) with ESMTP id i5PGPaMW067178 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 25 Jun 2004 12:25:38 -0400 (EDT) (envelope-from paul@gromit.dlib.vt.edu) Received: from [192.168.1.25] (zappa [192.168.1.25])i5PGPNcB021417; Fri, 25 Jun 2004 12:25:24 -0400 (EDT) From: Paul Mather To: freebsd-current@freebsd.org In-Reply-To: <20040625092230.1151516A4CF@hub.freebsd.org> References: <20040625092230.1151516A4CF@hub.freebsd.org> Content-Type: text/plain Message-Id: <1088180721.19294.23.camel@zappa.Chelsea-Ct.Org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 25 Jun 2004 12:25:23 -0400 Content-Transfer-Encoding: 7bit cc: Soren Schmidt Subject: Re: Multiple choices for RAID-0, best performance? 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, 25 Jun 2004 16:26:36 -0000 On Fri, 25 Jun 2004 10:23:37 +0200, S?ren Schmidt wrote: > Brad Knowles wrote: > > > My understanding is that regular vinum won't work on 5.x, you need > > geom-vinum for that. Recent postings from Sren have lead me to believe > > that none of the ataraid stuff works with 5.x, either -- you can use > > them as plain ATA controllers, but the RAID stuff has not yet been > > worked out. > > Wrong, ataraid works fine on 5.x. Ataraid has never worked entirely for me under 5.x. Specifically, I have *never* been able to get "atacontrol rebuild" to kick off reconstruction after replacing a drive in a DEGRADED array. This has been on an assortment of standard ATA controllers. The most recent on which I attempted it is this one: atapci0: port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 atapci0@pci0:7:1: class=0x010180 card=0x00000000 chip=0x71118086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82371AB/EB/MB PIIX4/4E/4M IDE Controller' class = mass storage subclass = ATA Naturally, not being able to rebuild an array in the event of drive failures makes ataraid useless for my purposes, so I gave up on it. > However there are some ATA software RAID setups that I havn't done the > metadata code for yet, but they'll get there eventually time permitting. > You can always use atacontrol to setup a RAID on *any* ATA > disk/controller setup, however you will need a BIOS with a known > metadata layout (Promise/Highpoint) to be able to boot from it (se man > atacontrol(1) for details).. You should, then, clarify the man page for atacontrol, as it appears to conflict with the above: create Create a type ATA RAID. The type can be RAID0 (stripe), RAID1 (mirror), RAID0+1 or SPAN (JBOD). In case the RAID has a RAID0 component, the interleave must be specified in number of sec- tors. The RAID will be created of the individual disks named disk0 ... diskN. Although the ATA driver allows for creating an ATA RAID on disks with any controller, there are restrictions. It is only possi- ble to boot on an array if it is either located on a ``real'' ATA RAID controller like the Promise or Highpoint controllers, or if the RAID declared is of RAID1 or SPAN type; in case of a SPAN, the partition to boot must reside on the first disk in the In other words, the man page says that it is possible to boot without the need for a RAID BIOS (known or otherwise) so long as the ATA RAID is of type RAID1 or SPAN (with further restrictions). Whilst on the subject of clarifying man pages, is the following entry in "man atacontrol" literally correct: rebuild Rebuild a RAID1 array on a RAID capable ATA controller. Specifically, does it mean that if you don't have a RAID-capable ATA controller (i.e., you have only a standard ATA controller) then "atacontrol rebuild" will not work? (If that is the case, it is strange to allow certain ataraid arrays to be created and booted on non-RAID controllers but not rebuilt.) Cheers, Paul. -- e-mail: paul@gromit.dlib.vt.edu "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." --- Frank Vincent Zappa