From owner-freebsd-questions@FreeBSD.ORG Sun Sep 12 13:16:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1D7F106564A for ; Sun, 12 Sep 2010 13:16:33 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 509458FC0C for ; Sun, 12 Sep 2010 13:16:33 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o8CDGRem018412 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 12 Sep 2010 14:16:27 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C8CD2A4.3020203@infracaninophile.co.uk> Date: Sun, 12 Sep 2010 14:16:20 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3 MIME-Version: 1.0 To: perryh@pluto.rain.com References: <4c83190a.SG+LIhPWaGtmaaeL%perryh@pluto.rain.com> <4C835474.7060707@infracaninophile.co.uk> <4c8487cc.Rh42YL91jTIv09e0%perryh@pluto.rain.com> <4c84ce46.sHyLaI+H+UzM+J/y%perryh@pluto.rain.com> <4c8c5260.+COCCpHgloxRSY2/%perryh@pluto.rain.com> In-Reply-To: <4c8c5260.+COCCpHgloxRSY2/%perryh@pluto.rain.com> X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCBC12237AA2E2B66528873FD" X-Virus-Scanned: clamav-milter 0.96.2 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: sysinstall vs gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Sep 2010 13:16:34 -0000 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--