From owner-freebsd-hardware@FreeBSD.ORG Tue Feb 8 23:21:51 2005 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4522816A4CE for ; Tue, 8 Feb 2005 23:21:51 +0000 (GMT) Received: from smtp1.linkline.com (host-66-59-235-27.lcinet.net [66.59.235.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 215DA43D46 for ; Tue, 8 Feb 2005 23:21:51 +0000 (GMT) (envelope-from sclements@linkline.com) Received: from [127.0.0.1] (host-66-59-225-129.lcinet.net [66.59.225.129]) by smtp1.linkline.com (Postfix) with ESMTP id 379209CE2E; Tue, 8 Feb 2005 15:21:48 -0800 (PST) Message-ID: <4209498D.9050300@linkline.com> Date: Tue, 08 Feb 2005 15:21:49 -0800 From: Samuel Clements User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Paul A. Hoadley" References: <20050207052621.GA82561@grover.logicsquad.net> <20050207201234.GG25963@meer.net> <20050208041905.GE1794@grover.logicsquad.net> In-Reply-To: <20050208041905.GE1794@grover.logicsquad.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Joe Rhett cc: freebsd-hardware@freebsd.org Subject: Re: ASUS P5GD2: onboard SATA RAID support X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2005 23:21:51 -0000 > The only disks in the system are two identical SATA drives which I > want to make into a RAID1 array. How can I bootstrap into this setup > using the atacontrol approach? I've installed onto ad4, but just > doing 'atacontrol create RAID1 ad4 ad6' isn't going to replicate this > disk over to ad6 and make the resulting array bootable, is it? Do I > need a temporary third disk to boot from, set up the array and then > install onto that? > > I don't mind waiting a while until this code: > > http://lists.freebsd.org/pipermail/freebsd-current/2005-February/046006.html > > makes it into STABLE. But even then, to proceed without a temporary > boot disk would require installing from something like a STABLE > snapshot ISO, wouldn't it? (Does anyone still make those?) I just completed an install on a machine with similar limitations. I did it like this: Configured disks to SATA RAID mode (in the BIOS) with no RAID configured (left the disks JBOD) Installed FreeBSD 5.3 from CD/FTP to drive ad4 cvsupped to stable applied patches compiled kernel rebooted to make sure my kernel worked changed ad4 to ar0 in fstab rebooted and went into the RAID BIOS Created ARRAY_1 (mirror) and when it asked me how I wanted to create it, I chose "BUILD" instead of "QUICK" or "INIT" and chose drive #1 as the source This copied drive ad4 (with the good kernel that supports the ar0) to drive ad6 rebooted and it came up and "just worked" The dmesg I just posted from the SE7210TP was achieved this way. I don't know if this way is sanctioned or approved (or even a good idea) but it seemed to work. The RAID BIOS is the Adaptec one, so yours may or may not include the "BUILD" option. Good luck! Let us know if it goes for you! -Sam