Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Sep 2010 14:16:20 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        perryh@pluto.rain.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sysinstall vs gmirror
Message-ID:  <4C8CD2A4.3020203@infracaninophile.co.uk>
In-Reply-To: <4c8c5260.%2BCOCCpHgloxRSY2/%perryh@pluto.rain.com>
References:  <4c83190a.SG%2BLIhPWaGtmaaeL%perryh@pluto.rain.com>	<4C835474.7060707@infracaninophile.co.uk>	<4c8487cc.Rh42YL91jTIv09e0%perryh@pluto.rain.com>	<4c84ce46.sHyLaI%2BH%2BUzM%2BJ/y%perryh@pluto.rain.com> <4c8c5260.%2BCOCCpHgloxRSY2/%perryh@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigCBC12237AA2E2B66528873FD
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 12/09/2010 05:09:04, perryh@pluto.rain.com wrote:
> How do I get sysinstall to recognize a gmirror?
>=20
> I've created the mirror -- which currently has only one provider --
> using Fixit#, followed by
>=20
>     Fixit# ln -s /dist/boot/kernel /boot
>     Fixit# gmirror load
>=20
> after which /dev/mirror/gm0{,a,b} exist.  However, even after
> rescanning the disks, sysinstall doesn't include gm0 in its
> drive list.  I also tried:
>=20
>     Fixit# ( cd /dev && ln -s mirror/* . && ll gm* )
>     lrwxr-xr-x  1 root  0  10 Sep  6 10:48 gm0@ -> mirror/gm0
>     lrwxr-xr-x  1 root  0  10 Sep  6 10:48 gm0a@ -> mirror/gm0a
>     lrwxr-xr-x  1 root  0  10 Sep  6 10:48 gm0b@ -> mirror/gm0b
>=20
> in case sysinstall looks only in /dev itself and not in any
> subdirectories, and that didn't help.  I even tried:
>=20
>     Fixit# ( cd /dev && ln -s mirror/gm0 ar0 \
>            && for p in a b d e ; \=20
>            do ln -s mirror/gm0$p ar0$p ; done && ll ar* )
>     lrwxr-xr-x  1 root  0  10 Sep  6 10:48 ar0@ -> mirror/gm0
>     lrwxr-xr-x  1 root  0  10 Sep  6 10:48 ar0a@ -> mirror/gm0a
>     lrwxr-xr-x  1 root  0  10 Sep  6 10:48 ar0b@ -> mirror/gm0b
>     lrwxr-xr-x  1 root  0  10 Sep  6 10:48 ar0d@ -> mirror/gm0d
>     lrwxr-xr-x  1 root  0  10 Sep  6 10:48 ar0e@ -> mirror/gm0e
>=20
> in case sysinstall looks only for names of known disk drivers,
> and that didn't help either.

I don't think sysinstall will do what you want.

However, what is your ultimate goal?  To install a system with a gmirror
root drive?  You can do that by installing direct to one of your drives
(ie ad0s1* or da0s1*) in the usual way and then converting the system
into a gmirror.  The Onlamp article by Dru Lavigne is the best
referrence here:

    http://onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html

Or else you can boot into the Fixit system, set up mirroring etc. and
then work through the rest of the installation process by hand.  The
install sets are just split up tarballs and it's pretty easy to extract
a copy of a system from them.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW


--------------enigCBC12237AA2E2B66528873FD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyM0qsACgkQ8Mjk52CukIx29ACgkR2t4ChfhnT4zcXesne2bHMH
Z4wAn1Ex3CflbD1j0Khw8tsTrP1VH4/i
=PhD8
-----END PGP SIGNATURE-----

--------------enigCBC12237AA2E2B66528873FD--



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