From owner-freebsd-stable@FreeBSD.ORG Mon Dec 27 15:43:02 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B770A16A4CE for ; Mon, 27 Dec 2004 15:43:02 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 528C143D45 for ; Mon, 27 Dec 2004 15:43:02 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 0A901ACAF1; Mon, 27 Dec 2004 16:43:01 +0100 (CET) Date: Mon, 27 Dec 2004 16:43:01 +0100 From: Pawel Jakub Dawidek To: Samuel Tardieu Message-ID: <20041227154301.GT787@darkness.comp.waw.pl> References: <2004-12-13-20-20-30+trackit+sam@rfc1149.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h/77pM/XNBmEJr8g" Content-Disposition: inline In-Reply-To: <2004-12-13-20-20-30+trackit+sam@rfc1149.net> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: freebsd-stable@freebsd.org Subject: Re: Questions about GEOM and MIRROR X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Dec 2004 15:43:02 -0000 --h/77pM/XNBmEJr8g Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 13, 2004 at 08:20:30PM +0100, Samuel Tardieu wrote: +> Hi. +>=20 +> I just added two disks (ad4 & ad6, SATA 160Go) to my FreeBSD box. I want= to +> use them in the following configuration: +>=20 +> - ad4s1 & ad6s1: geom mirror of 80Go containing all my precious data (= /, +> /usr, /var, /home) +>=20 +> - ad4s2b: swap +>=20 +> - ad4s2x, ad6s2x: non-important data +>=20 +> On the mirror (ad4s1+ad6s1), I created partitions for /, /tmp, /usr, +> and /var. +>=20 +> Is there any pitfall in doing so? Do I have to be careful to keep extra = space +> somewhere? (such as one sector at the end of ad4s1/ad6s1) +>=20 +> I can't seem to place bootcode at the beginning of the mirror: +>=20 +> # bsdlabel /dev/mirror/precious +> # /dev/mirror/precious: +> 8 partitions: +> # size offset fstype [fsize bsize bps/cpg] +> a: 524288 16 4.2BSD 2048 16384 32776=20 +> c: 167766731 0 unused 0 0 # "raw" part, d= on't edit +> d: 2097152 524304 4.2BSD 2048 16384 28552=20 +> e: 524288 2621456 4.2BSD 2048 16384 32776=20 +> f: 164620971 3145744 4.2BSD 2048 16384 28552=20 +>=20 +> # bsdlabel -B /dev/mirror/precious +> bsdlabel: Geom not found +>=20 +> What does this error mean? It could mean, that there is no such device. Hard to say, as I can't reproduce it here - 'bsdlabel -B' works for me. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --h/77pM/XNBmEJr8g Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFB0C2FForvXbEpPzQRAmyEAJ9gwJs/MBj1ldc//gToVyuxl/yqzQCeIluY YnLITUJSMOw34fRYZDvUJOU= =eScS -----END PGP SIGNATURE----- --h/77pM/XNBmEJr8g--