Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2006 15:47:42 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Brent Hostetler <brenthostetler@gmail.com>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: Setup problem with multiple mirrored devices
Message-ID:  <20060127144742.GB789@garage.freebsd.pl>
In-Reply-To: <aadbc3580601270602s39a147b4x123dea6332067d27@mail.gmail.com>
References:  <aadbc3580601270602s39a147b4x123dea6332067d27@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--bCsyhTFzCvuiizWE
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jan 27, 2006 at 09:02:31AM -0500, Brent Hostetler wrote:
+> So then I move on to ad4 and ad6.
+>    fdisk -I ad4
+>    fdisk -I ad6
+>    bsdlabel -w ad4s1
+>    bsdlabel -w ad6s1
+>    bsdlabel -e ad6s1
+>    bsdlabel -e ad4s1
+>    gmirror label -v -b round-robin M2 ad4s1
+>    gmirror configure -a M2
+>    gmirror insert M2 ad6s1
+>=20
+> gmirror picks up ad6 as the provider instead of ad6s1.

Which FreeBSD version do you use?
It should work fine with 6.0. If you cannot upgrade, you need to use -h
option, eventually you can create slices one sector smaller so they
don't end at the same sector as disk.

BTW. Don't create partitions on adXsX if you mirror slices. Instead
create them on mirror provider.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--bCsyhTFzCvuiizWE
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFD2jKNForvXbEpPzQRAqAjAJ9rAm3kBNFTW1wPHPPKsnZEYEdwOwCcDo/k
7MzhSrvU3qTi/ByKz4ZvmLs=
=RUun
-----END PGP SIGNATURE-----

--bCsyhTFzCvuiizWE--



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