Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2004 23:21:07 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Robin Breathe <robin+spam@isometry.net>
Cc:        freebsd-geom@FreeBSD.org
Subject:   Re: gmirror problems
Message-ID:  <20041112222107.GP8120@darkness.comp.waw.pl>
In-Reply-To: <41950935.2010103@isometry.net>
References:  <200411081140.57792.michael.riexinger@de.clara.net> <20041108120513.GH11057@calleigh.elde.net> <20041108124606.GC8120@darkness.comp.waw.pl> <200411081540.05593.michael.riexinger@de.clara.net> <20041108164540.GF8120@darkness.comp.waw.pl> <41950935.2010103@isometry.net>

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

--l7itP/1EBO9PCc/O
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Nov 12, 2004 at 07:04:21PM +0000, Robin Breathe wrote:
+> Pawel Jakub Dawidek wrote:
+> >Unfortunately, gmirror and other GEOM classes are not supported by our
+> >installer.
+> >
+> >The safest way to do what you want is to:
+> >
+> >	# gmirror label <name> ad1
+> >	create slices and partitions on /dev/mirror/<name>
+> >	create file system
+> >	copy data from ad0 to <name>
+> >	change /etc/fstab to boot from /dev/mirror/<name>s1a or something
+> >	reboot
+> >	# gmirror insert <name> ad0
+>=20
+> Are any nasty side-effects likely from slicing and newfs-ing ad1 prior=
=20
+> to labelling the mirror? For example, could the gmirror metadata get=20
+> overwritten at some later stage by writing to the end of the last slice?

In theory it is possible, yes, but I doubt you can see it in practise.
You can also see some complains that slices are too big, because gmirror
cuts the last sectors from the component provider.

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

--l7itP/1EBO9PCc/O
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFBlTdTForvXbEpPzQRAvm1AJ9UnZpxoGVIQvwnTMjTYCd3hwLWdwCgrxoa
OjIIZXncn77zwajaBFiFFGs=
=vlJ/
-----END PGP SIGNATURE-----

--l7itP/1EBO9PCc/O--


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