RE: Software RAID1

From: Gayn Winters (
Date: 09/15/05

  • Next message: Jerry McAllister: "Re: Software RAID1"
    To: "'Jason King'" <>, <>
    Date: Thu, 15 Sep 2005 09:12:10 -0700

    > -----Original Message-----
    > From:
    > [] On Behalf Of Jason King
    > Sent: Thursday, September 15, 2005 5:16 AM
    > To:
    > Subject: Software RAID1
    > I am having trouble with THESE instructions:
    > I'm trying to create a RAID1 system with FreeBSD and the instructions
    > are not working. I'm getting this error:
    > mail# gmirror insert gm0 /dev/da0
    > Cannot access provider da0.
    > The command is trying to add the first disk /dev/da0 to the
    > mirror gm0.
    > Has anyone else had success at creating a RAID1 mirror on FreeBSD. If
    > so, please let me know how you did it because these
    > instructions are not
    > working at all.
    > Jason
    > _______________________________________________

    Those instructions work fine, but you have to be very careful following
    them. (See below)

    An alternate way to use gmirror for software mirroring as is described

    These work fine as well.

    Ralf's instructions, which you quote above, have the advantage of not
    needing to go into Fixit mode using the 5.4 boot CD (hence it can be
    executed remotely); however, it takes more typing and more reboots.

    If you use the latter, note that Ralf uses ATA drives ad0 and ad1, while
    it looks like you may have da0 and da1. You need to make the
    appropriate transliteration ad --> da very carefully, especially in the
    line for the boot loader where ad(1,a) --> da(1,a).

    This latter paper also outlines how to mirror at the slice, rather than
    the disk, level.

    One final hint: if you are playing around with gmirror on the same
    disks, you can get into a situation where one attempt has left gmirror
    information on the last sector of your disks. This will confuse
    gmirror, and you will have to load and use gmirror to clear it out. (or
    zero the entire disk with dd if=/dev/zero.) Read the man pages on
    gmirror in any case!!!

    Best of luck,


    _______________________________________________ mailing list
    To unsubscribe, send any mail to ""

  • Next message: Jerry McAllister: "Re: Software RAID1"

    Relevant Pages

    • RE: <$100 SATA RAID Card 5.3 compatible
      ... >> RAID1. ... I'm looking into gmirror, but it seems like it might be ... > gmirror will see the new disk at boot and DTRT. ... I ended up installing a minimal installation on one disk, ...
    • Re: Moving to RAID1
      ... I get this error now when trying to insert the disk ... gmirror: Provider ad14 too small. ... found in freebsd handbook about setting up RAID1 ...
    • PERC 4D/i -o- Software RAID ? (dell PE2650)
      ... I'm going to install FreeBSD 6.2 on top of these 5 disk. ... -2x in RAID1 for the DATA ... I have ZERO experience with PERC 4D/i about reliability/performance. ... I have confident experience with GMIRROR. ...
    • Re: <$100 SATA RAID Card 5.3 compatible
      ... >> the hardware and go with gmirror. ... gmirror will see the new disk at boot and DTRT. ... Or have you seen too many horror stories on the mailing lists? ... As RAID1 solutions go, gmirror take a lot of the ...
    • Re: fix remote degraded gmirror
      ... instructions. ... Gmirror is block level mirroring which why no other steps ... In addition the disk doesn't have exactly the same length so when I tried ...