From owner-freebsd-questions@FreeBSD.ORG Sun Apr 10 00:27:59 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 2D1CC16A4CE for ; Sun, 10 Apr 2005 00:27:59 +0000 (GMT) Received: from helium.webpack.hosteurope.de (helium.webpack.hosteurope.de [217.115.142.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EB1343D39 for ; Sun, 10 Apr 2005 00:27:56 +0000 (GMT) (envelope-from me@hexren.net) Received: by helium.webpack.hosteurope.de running Exim 4.34 using asmtp helo=hexren.steenbuck.net) id 1DKQIr-0004Fv-1K; Sun, 10 Apr 2005 02:27:53 +0200 Date: Sun, 10 Apr 2005 02:27:51 +0200 From: Hexren X-Mailer: The Bat! (v1.62i) Business X-Priority: 3 (Normal) Message-ID: <18449191653.20050410022751@hexren.net> To: Spades In-Reply-To: <7aa7839bec01936ea3c064a84ad69178@shire.net> References: <421467C0.9060801@ant.uni-bremen.de><42159B2C.3000000@ant.uni-bremen.de> <200502181015.44103.karelj@kayjay.nl><00b301c5164e$ae86b0d0$162dc2cb@astral><5895876136a642eb60e73d6ebe87729c@shire.net><16918.60595.297759.953364@szamoca.krvarr.bc.ca> <6463233752496ef9dc7301fd33c035c9@shire.net> <008201c516f4$d9e78ff0$0a01a8c0@astral> <7aa7839bec01936ea3c064a84ad69178@shire.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit cc: freebsd-questions@freebsd.org Subject: Re[2]: raid1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Hexren List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2005 00:27:59 -0000 > On Feb 19, 2005, at 6:39 PM, Spades wrote: >> How do we check if FreeBSD recorgnises it as individual drives or >> Hardware RAID array. > Your raid chip appears to be a software ATA raid. man ata > The raid appears as arN according to man ata > look in the dmesg to see what happened at boot -- this will tell you > how the controller and drives were found by FreeBSD > /var/run/dmesg.boot > Chad >> >> ----- Original Message ----- From: "Chad Leigh -- Shire.Net LLC" >> >> To: "Sandy Rutherford" >> Cc: ; "Spades" >> Sent: Saturday, February 19, 2005 5:46 PM >> Subject: Re: raid1 >> >> >> >> On Feb 19, 2005, at 12:37 AM, Sandy Rutherford wrote: >> >>>>>>>> On Fri, 18 Feb 2005 23:51:53 -0700, >>>>>>>> "Chad Leigh -- Shire.Net LLC" said: >>> >>>> 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/X6DVL- >>>>> 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 >>>>> ... >>> >>>> 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 >>> >>> This should be true of any hardware RAID level, not just RAID1. The >>> HW RAID presents logical drives to the OS, which look like real drives >>> to it. The caveat is that the RAID driver will appear as the disk >>> type. I don't have any experience with SATA RAID, but on my server, >>> which has a Mylex ExtremeRAID 1100 SCSI RAID card, a df gives: >>> >>> Filesystem 1K-blocks Used Avail Capacity Mounted on >>> /dev/mlxd0s1a ... >>> /dev/mlxd0s1d ... >>> /dev/mlxd0s1h ... >>> /dev/mlxd0s1e ... >>> /dev/mlxd0s1f ... >>> /dev/mlxd0s1g ... >>> /dev/mlxd1s1e ... >>> /dev/mlxd1s1f ... >>> /dev/mlxd1s1g ... >>> /dev/mlxd2s1e ... >>> >>> mlx(4) is the driver for this card. The underlying hard drive >>> structure doesn't look anything like the above, but this is irrelevant >>> to the OS. >>> >>> Regarding your situation, I believe that your MB uses an Adaptec SATA >>> controller. You should find out exactly what the controller is and if >>> it is supported in "Hardware Notes". I would expect that if your >>> controller is supported and found, then "ad" should be replaced by the >>> relevant driver. Also, have a look at the dmesg output. There should >>> be some sign that the OS is recognizing your RAID controller. >>> >> >> According to the MB specs at the URL given by the OP, the SATA is an >> Intel 6300ESB (part of a more general IO chip) >> >> " • 6300ESB (Hance Rapids) SATA Controller (2x Drive support) >> • 2x SATA Ports >> • RAID 0, 1, JBOD support" >> >> >> I don't see any specific mention of this in any of the HW notes for >> 5.3. I would be interested to see the dmesg output at boot time to see >> what the system sees for devices and controllers. If it is an ATA raid >> (pseudo HW RAID) then it would show as arX devices and not adX >> according to the handbook. >> >> Chad >> --------------------------------------------- Concerning that chip I've found these http://www.ambrisko.com/doug/ata/ in some mails to freebsd-current. Right now I am in the proces of patching my system with these to see iif that does the trick of supporting Raid. Regards Hexren btw: The post from freebsd-current http://lists.freebsd.org/pipermail/freebsd-current/2004-September/038025.html googling for "6300esb freebsd site:freebsd.org" turns up some more posts.