Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2007 20:17:30 -0500
From:      Mike Jakubik <mikej@rogers.com>
To:        freebsd-geom@FreeBSD.ORG, Oles Hnatkevych <don_oles@able.com.ua>
Subject:   Re: gmirror existing installation?
Message-ID:  <45B956AA.9000803@rogers.com>
In-Reply-To: <200701251424.l0PEOkGh016221@lurza.secnetix.de>
References:  <200701251424.l0PEOkGh016221@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Fromme wrote:
> 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.
>   

Exactly why is this better? It's certainly much more time consuming...




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