Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2005 11:14:03 -0700
From:      Jon Simola <jsimola@gmail.com>
To:        stable@freebsd.org
Subject:   Re: atacontrol raid1 vs. gmirror
Message-ID:  <8eea0408050613111459f96599@mail.gmail.com>
In-Reply-To: <1118519437.7105.16.camel@zappa.Chelsea-Ct.Org>
References:  <1379.172.16.0.199.1118515349.squirrel@172.16.0.1> <1118519437.7105.16.camel@zappa.Chelsea-Ct.Org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/11/05, Paul Mather <paul@gromit.dlib.vt.edu> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8eea0408050613111459f96599>