Date: Thu, 25 Jan 2007 15:24:46 +0100 (CET) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-geom@FreeBSD.ORG, Oles Hnatkevych <don_oles@able.com.ua> Subject: Re: gmirror existing installation? Message-ID: <200701251424.l0PEOkGh016221@lurza.secnetix.de> In-Reply-To: <1627867361.20070124205933@able.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Oles Hnatkevych wrote: > There's a simple way of gmirroring existing installation. > > > sysctl kern.geom.debugflags=16 # allow writing to a live filesystem > > gmirror label -v gm0 /dev/ad0 > > # edit /etc/fstab, chane to /dev/mirror/gm0... slices > > # add "geom_mirror_load=YES" to /boot/loader.conf > > # reboot > > gmirror insert gm0 /dev/ad1 I don't recommend to do it that way. It is better to first create the mirror on the second (unused) disk, label and newfs it, then copy the system from ad0 to gm0, then boot from gm0 on the second disk and insert the first disk into the mirror. That's the approach described in the Handbook, I think. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "[...] one observation we can make here is that Python makes an excellent pseudocoding language, with the wonderful attribute that it can actually be executed." -- Bruce Eckel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701251424.l0PEOkGh016221>