Re: atacontrol raid1 vs. gmirror

2005-06-14 Thread Danny Howard

Jon Simola wrote:


On 6/11/05, Paul Mather [EMAIL PROTECTED] 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.
 

Ooof.  I have my Supermicro SATA 1Us running gmirror.  A bit easier than 
your procedures:


http://dannyman.toldme.com/2005/01/24/freebsd-howto-gmirror-system/

Cheers,
-danny

--
http://dannyman.toldme.com/

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: atacontrol raid1 vs. gmirror

2005-06-13 Thread Jon Simola
On 6/11/05, Paul Mather [EMAIL PROTECTED] 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 raid 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 

-- 
Jon Simola
Systems Administrator
ABC Communications
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: atacontrol raid1 vs. gmirror

2005-06-13 Thread Craig Boston
On Mon, Jun 13, 2005 at 11:14:03AM -0700, Jon Simola wrote:
   - 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 raid 
 set

Since the 5.4 CD is now also a live-CD, you could probably do this from
the fixit console rather than having to do an install...

Craig
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


atacontrol raid1 vs. gmirror

2005-06-11 Thread Mike Jakubik
Can someone explain tome the difference between a RAID1 setup done via
atacontrol and gmirror? I have a VIA 6420 SATA150 controller, which also
has raid, but is not supported by -stable.


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: atacontrol raid1 vs. gmirror

2005-06-11 Thread Paul Mather
On Sat, 2005-06-11 at 14:42 -0400, Mike Jakubik wrote:
 Can someone explain tome the difference between a RAID1 setup done via
 atacontrol and gmirror? I have a VIA 6420 SATA150 controller, which also
 has raid, but is not supported by -stable.

Here are the main differences, as I see them:

atacontrol RAID:

- Only for ATA;
- Compatible with quite a few ATA RAID card BIOS metadata formats, hence
you can create the RAID using the RAID controller's BIOS menu;
- Supports only two-way mirroring (IIRC);
- Supports spares.

gmirror:

- Works with any GEOM provider (ATA, SCSI, ggate, etc.);
- Uses the last sector of each RAID component to store its own metadata;
- Supports N-way mirroring;
- Does not support spares (though gmirror activate/deactivate can be
used to associate a component with a mirror somewhat akin to having a
spare).


I found array rebuilding to be troublesome on atacontrol RAID---so much
so I abandoned it and used vinum and then gmirror instead for my RAID 1.
(I have a bootable geom_mirror setup, now.)  Mind you, that was in the
pre-ATA mk.III days, and I hear the RAID support underwent a big revamp
in the mk.III rewrite.

Cheers,

Paul.
-- 
e-mail: [EMAIL PROTECTED]

Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid.
--- Frank Vincent Zappa
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]