From owner-freebsd-stable@FreeBSD.ORG Mon Jun 13 18:14:05 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 053A816A41C for ; Mon, 13 Jun 2005 18:14:05 +0000 (GMT) (envelope-from jsimola@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9600343D1D for ; Mon, 13 Jun 2005 18:14:04 +0000 (GMT) (envelope-from jsimola@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so293993wri for ; Mon, 13 Jun 2005 11:14:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FM7sdi3S66atTZ6Z3ykY/drtTRvbN9o1UfWDoowEAoyK24kuctfGKtTG/nVoO2r4Bv98742v0v/DlE2vw4s0pHgNiU9KMDvY8GjmD+0NMEiGvGSOriAXAwhYeVgp5OJubLGv3UNcJnhgEzk0YrtkDCjR40k3dl+blOu4rzgMPmg= Received: by 10.54.27.40 with SMTP id a40mr2976216wra; Mon, 13 Jun 2005 11:14:03 -0700 (PDT) Received: by 10.54.39.65 with HTTP; Mon, 13 Jun 2005 11:14:03 -0700 (PDT) Message-ID: <8eea0408050613111459f96599@mail.gmail.com> Date: Mon, 13 Jun 2005 11:14:03 -0700 From: Jon Simola To: stable@freebsd.org In-Reply-To: <1118519437.7105.16.camel@zappa.Chelsea-Ct.Org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1379.172.16.0.199.1118515349.squirrel@172.16.0.1> <1118519437.7105.16.camel@zappa.Chelsea-Ct.Org> Cc: Subject: Re: atacontrol raid1 vs. gmirror X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jon@abccomm.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 18:14:05 -0000 On 6/11/05, Paul Mather wrote: > I found array rebuilding to be troublesome on atacontrol RAID Some bits from the in-house documentation I've been writing. I've tested this on multiple occasions on my 1U Supermicro SATA boxes, so might possibly be interesting for someone. * RAID setup: (If required, FreeBSD only) - ensure that the drives are probed as ad4 and ad6 like: ad4: 76324MB [155072/16/63] at ata2-master SATA150 ad6: 76324MB [155072/16/63] at ata3-master SATA150 - if they do not probe correctly, check the BIOS settings above - perform a minimal install of FreeBSD 5.3 (do not worry about network or anything) - reboot from the installed OS and login as root - Run the command "atacontrol create RAID1 ad4 ad6" to create the rai= d set - Reboot and reinstall the OS, choosing ar0 as the drive, which should probe like: ad4: 76324MB [155072/16/63] at ata2-master SATA150 ad6: 76324MB [155072/16/63] at ata3-master SATA150 ar0: 76324MB [9730/255/63] status: READY subdisks: disk0 READY on ad4 at ata2-master disk1 READY on ad6 at ata3-master Minimal Survival for FreeBSD software RAID1 sets * Read the atacontrol man page * atacontrol status ar0 - to check the status * atacontrol detach 2 - to detach ad4 if failed (again, use 3 for ad6). The SATA disks in the 5013C-T chassis are hotswappable, so it can be pulled once detached. * atacontrol attach 2 - to reattach ad4 once replaced * atacontrol addspare ar0 ad4 - to add the replaced ad4 as a spare on the RAID set * atacontrol rebuild ar0 - to rebuild the mirror=20 --=20 Jon Simola Systems Administrator ABC Communications