Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 2004 16:43:01 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Samuel Tardieu <sam@rfc1149.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Questions about GEOM and MIRROR
Message-ID:  <20041227154301.GT787@darkness.comp.waw.pl>
In-Reply-To: <2004-12-13-20-20-30%2Btrackit%2Bsam@rfc1149.net>
References:  <2004-12-13-20-20-30%2Btrackit%2Bsam@rfc1149.net>

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

--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--



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