Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 2008 06:18:04 -0700 (PDT)
From:      Dino Vliet <dino_vliet@yahoo.com>
To:        af300wsm@gmail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Setting up gmirror
Message-ID:  <984631.87587.qm@web51102.mail.re2.yahoo.com>

next in thread | raw e-mail | index | archive | help
Wednesday, October 1, 2008 6:34 AM




From:=20

"Andrew Falanga" <af300wsm@gmail.com>



To:=20
"freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>


Hi,

I've just finished setting up a new web server, and if I get my DNS
stuff correct hopefully an e-mail server too, for my church.
Originally, the intention was to use RAID1 on the MOBO.=A0 However, the
RAID controller on the MOBO consistently tried to make the SATA DVD
drive part of the RAID array and wouldn't boot the FreeBSD boot disk.
So, at the suggestion of another respondent here, I've decided to use
gmirror.

Now, it seems that gmirror is, perhaps, newer to FreeBSD than the
software RAID stuff in the Handbook.=A0 That mentions ccd(4) and doesn't
make any mention of gmirror(8).=A0 It seems like gmirror is rather easy
to work with, and more important, easy to recover from is hardware
fails.=A0 In any event, I want to make sure I'm understanding the manual
page correctly because I don't have anything else to test this on
except the churches computer.=A0 We have two Seagate 250gb SATA drives.
Identical drive models so their sizes are the same.=A0 Is this the
command, from gmirror(8), the one I'll want to use?

=A0 =A0=A0=A0Create a mirror on disk with valid data (note that the last se=
ctor of the
=A0 =A0=A0=A0disk will be overwritten).=A0 Add another disk to this mirror,=
 so it will
=A0 =A0=A0=A0be synchronized with existing disk:

=A0=A0=A0 =A0=A0=A0gmirror label -v -b round-robin data da0
=A0=A0=A0 =A0=A0=A0gmirror insert data da1


Though in my case, da0 and da1 will be ad4 and ad5.=A0 This seems to be
the one I'm looking for, I'm just scared of wiping out more than I
bargain for.

Andy

--=20
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

**************
=A0
Hi Andy,
=A0
Although I assume you can't start from scratch, I think the article on this=
 topic=A0by the famous Dru Lavigne is very good:
=A0
http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html
=A0
This is what I've used to do it.
Now I did a google search and found:
=A0
http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html?page=3D2
=A0
And gmirror is in the handbook, if found it in:
=A0
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html
=A0
So these sources will give you a lot of knowledge.
=A0
I swear by gmirror, I had very good experience with it and will use it in t=
he future again. I just need to find some time to attach the two identical =
HDD's to my via c7 system.
=A0
Brgds
Dino
=0A=0A=0A      



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