Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jun 2007 18:02:35 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-stable@FreeBSD.ORG, ubm@u-boot-man.de
Subject:   Re: gmirror on a disk with data already on it
Message-ID:  <200706051602.l55G2Zwq063226@lurza.secnetix.de>
In-Reply-To: <20070605170345.3df2b8ef.ubm@u-boot-man.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Marc UBM Bocklet <ubm@u-boot-man.de> wrote:
 > The gmirror man page says that if gmirror is used on a disk, the last
 > sector of that disk is overwritten with the metadata gmirror uses.
 > 
 > So what I would like to know is, how risky is it to mirror a disk which
 > already has data on it?
 > 
 > Is there a chance that I might render my system unbootable?

If you follow the procedure in the Handbook, then there is
no risk at all.  It involves preparing one side of the
mirror on the second (unused) device first, then attaching
the first device to the mirror.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"With sufficient thrust, pigs fly just fine.  However, this
is not necessarily a good idea.  It is hard to be sure where
they are going to land, and it could be dangerous sitting
under them as they fly overhead." -- RFC 1925



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