Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Dec 2004 11:19:58 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Alexandr Kovalenko <never@nevermind.kiev.ua>
Cc:        Jo?o Carlos Mendes Lu?s <jonny@jonny.eng.br>
Subject:   Re: Hand on gmirror (Was: Re: gmirror bugs, how many?)
Message-ID:  <20041208101958.GF1130@darkness.comp.waw.pl>
In-Reply-To: <20041208094044.GB8042@nevermind.kiev.ua>
References:  <41A6B76F.4020101@jonny.eng.br> <20041126082340.GC7232@darkness.comp.waw.pl> <41A78A47.3050309@jonny.eng.br> <20041128202759.GF7232@darkness.comp.waw.pl> <41AB37B8.7060303@jonny.eng.br> <41AB9457.6020601@jonny.eng.br> <20041129225925.GT7232@darkness.comp.waw.pl> <20041208001001.GC81328@nevermind.kiev.ua> <20041208085306.GE1130@darkness.comp.waw.pl> <20041208094044.GB8042@nevermind.kiev.ua>

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

--s5/bjXLgkIwAv6Hi
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Dec 08, 2004 at 11:40:44AM +0200, Alexandr Kovalenko wrote:
+> > +> To be on original topic - is there any way to make a mirror from li=
ve
+> > +> system? I mean I have running FreeBSD on da0 and I want to make a
+> > +> gmirror on it (I'm planning to add second drive soon). How to avoid
+> > +> those disklabel warnings correctly?
+> >=20
+> > You still need to reboot. The whole instruction you should find in
+> > freebsd-geom@ mailing list archives, I wrote about this few times, AFA=
IR.
+>=20
+> Could you please remember subject of that thread?
+>=20
+> I was able to make a gmirror on live system using
+> kern.geom.debugflags=3D16, but problem with disklabel remains.

You cannot do this on live system, because you need to mount root file
system on top of the mirror and remounting root file system is not
possible. You need to create the mirror on 2nd disk first, etc.

Even if you store metadata on disk (with debugflags=3D16), changes will
not be updated on 2nd disk, because I/O requests go to the disk provider,
not to the mirror provider.

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

--s5/bjXLgkIwAv6Hi
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFBttVOForvXbEpPzQRAsFqAJ9KWllG5v/nMFeC4VQcatscNtnV7gCcC73p
5D3SUblOWdhTIXd9OAiRNsA=
=I9iA
-----END PGP SIGNATURE-----

--s5/bjXLgkIwAv6Hi--



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