From owner-freebsd-questions@FreeBSD.ORG Sat Feb 19 07:15:56 2005 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 9F43316A4CE for ; Sat, 19 Feb 2005 07:15:56 +0000 (GMT) Received: from hobbiton.shire.net (hobbiton.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 688E243D48 for ; Sat, 19 Feb 2005 07:15:56 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.161.222.227] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.43) id 1D2OqH-0005qG-V3 for freebsd-questions@freebsd.org; Sat, 19 Feb 2005 00:15:56 -0700 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <200502190056.22966.josh@tcbug.org> References: <421467C0.9060801@ant.uni-bremen.de> <00b301c5164e$ae86b0d0$162dc2cb@astral> <5895876136a642eb60e73d6ebe87729c@shire.net> <200502190056.22966.josh@tcbug.org> Message-Id: <22c288db2ff23178253bf6d701a6fef1@shire.net> From: Chad Leigh -- Shire.Net LLC Date: Sat, 19 Feb 2005 00:15:51 -0700 To: List Free Bsd X-Mailer: Apple Mail (2.619.2) X-SA-Exim-Connect-IP: 67.161.222.227 X-SA-Exim-Mail-From: chad@shire.net Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on hobbiton.shire.net X-Spam-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50 autolearn=disabled version=3.0.0 X-Spam-Level: X-SA-Exim-Version: 4.1+cvs (built Mon, 23 Aug 2004 08:44:05 -0700) X-SA-Exim-Scanned: Yes (on hobbiton.shire.net) Subject: Re: raid1 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: Sat, 19 Feb 2005 07:15:56 -0000 On Feb 18, 2005, at 11:56 PM, Josh Paetzel wrote: > On Saturday 19 February 2005 00:51, Chad Leigh -- Shire.Net LLC wrote: >> On Feb 18, 2005, at 11:39 PM, Spades wrote: >>> hi, my server hardware supports hardware raid, i installed it >>> as per normal freebsd 5.3, however i see no difference >>> in df. its using 2 x 160GB, what do i do during the installation >>> to enable the raid? >>> >>> mobo: >>> http://www.supermicro.com/products/motherboard/Xeon800/E7320/X6DV >>> L- EG.cfm >>> >>> -bash-2.05b$ df >>> Filesystem 1K-blocks Used Avail Capacity Mounted on >>> /dev/ad4s1a 66008394 35424 60692300 0% / >>> devfs 1 1 0 100% /dev >>> /dev/ad4s1d 66008394 24 60727700 0% /home >>> /dev/ad4s1e 10154158 683442 8658384 7% /usr >>> /dev/ad4s1f 8172302 982 7517536 0% /var >>> -bash-2.05b$ >> >> What do you expect to see? >> >> A raid1 is a mirror set and to the OS would probably look like a >> single drive if it truly is a HW raid >> >> Chad > > The RAID will ususally show up as something other than ad(x). > Generally you create the RAID array in the controller's BIOS and > FreeBSD detects it as a single disk (in my case ar0). You may want > to google around to see if your controller is supported. That is generally because they are not real HW raids, AFAIK. My adaptec HW raid controller shows the raid arrays as daX just like a normal adaptec SCSI drive. No difference. (or my other adaptec ones show the raidsets and single drives as aacX, and my Rocket RAID 1820a seems to show everything as a daX) I won't claim to know how this really works with these pseudo HW raid controllers built into the MBs, but from what I read in this list, FreeBSD has to read the RAID config on the disks in the ata driver, which to me says it is not a real HW raid. If it was a true HW raid, FreeBSD wouldn't be able to tell the difference between a raidset and a single disk. Chad