Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jan 2007 20:04:39 +0100 (CET)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-geom@FreeBSD.ORG
Subject:   Re: gmirror existing installation?
Message-ID:  <200701261904.l0QJ4dEJ094401@lurza.secnetix.de>
In-Reply-To: <308587.38343.qm@web30312.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
R. B. Riddick wrote:
 > Oliver Fromme wrote:
 > > Not really much more.  It's true that you have to copy over
 > > your files, but the computer does all that work itself.
 > > You only have to type one command, then spend your time
 > > doing something else.  You don't have to watch it during
 > > the copying.  (You don't have to watch the mirror being
 > > synchronized either, which has to be done anyhow and takes
 > > much longer, probably.)
 >
 > The service interruption is higher, because copying the system should
 > be done with a read-only root-fs...

That depends on your services.  I have done that procedure
several times without shuting down services.

You can also copy over your stuff once while services are
running, then stop the services (and remount red-only if
you think it's necessary) and perform a final sync that
will transfer only the files that have changed [*].
That will be pretty quick, and the downtime will be short.

 > Both methods need a reboot in order to change the root fs...

That's true.  At some point you'll have to switch your
root FS to gm0 ...  That's not avoidable.

 > It is always better to design the system before it is installed... :-)

Very true.  :-)

Best regards
   Oliver

[*]  E.g. you can use cpdup for that purposes, from
ports/sysutils/cpdup.  It's fast and easy to use.

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606, USt-Id: DE204219783
Any opinions expressed in this message are personal to the author and may
not necessarily reflect the opinions of secnetix GmbH & Co KG in any way.
FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"And believe me, as a C++ programmer, I don't hesitate to question
the decisions of language designers.  After a decent amount of C++
exposure, Python's flaws seem ridiculously small." -- Ville Vainio



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