Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2013 17:11:33 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Andy Zammy <andyzammy@googlemail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: failed to create gmirror with the handbook instructions
Message-ID:  <alpine.BSF.2.00.1310081703120.29745@wonkity.com>
In-Reply-To: <CANuHMWPNWXLnGH-7F1XdqgxDMJ076bK9Ztr_Rh%2B7p0Nd-AOqTA@mail.gmail.com>
References:  <CANuHMWNBToJsPiXzGpJuv77z50aYkdiNnNJy_oz3kMwtqx23eQ@mail.gmail.com> <alpine.BSF.2.00.1310071825200.94688@wonkity.com> <CANuHMWMtMcj_ShgcvzmPyJOAH_gLoSp=mh4Q=ABYtx3VFtA3zw@mail.gmail.com> <alpine.BSF.2.00.1310081551090.29745@wonkity.com> <CANuHMWPNWXLnGH-7F1XdqgxDMJ076bK9Ztr_Rh%2B7p0Nd-AOqTA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 8 Oct 2013, Andy Zammy wrote:

> # gpart show ada0s1
> gpart: No such geom: ada0s1
> 
> By the way, this is after a restart of the machine.
> 
> There's nothing to back up, I'm installing a fresh os, so I just install on one drive, plug the other in, and start following the handbook instructions for this method. So the only
> thing in loader.conf is geom_mirror_load="YES".
> 
> I'll rephrase the question: given that the handbook originally wanted me to dump from ada0s1 to the mounted mirror/gm0s1 (which was ada1 at the time), and I cannot do this, would it be
> enough to dump from mirror/gm0s1 (which is what ada0 is now mounted as), to ada1s1 (even though this *should* be the other way around, it's equivalent as far as i can see, isn't it?)?

There is not much point in dumping from the mirror to another drive. 
The dump/restore is how the single drive is copied to the mirror.

On a fresh install, use the Shell mode of the installer to set up the 
mirror, then install directly to it.  There are some instructions on 
mountpoints in the bsdinstall man page.  This will avoid the lag of 
waiting for the second drive to sync.



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