From owner-freebsd-stable@FreeBSD.ORG Tue Mar 7 13:45:07 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BB8C16A420 for ; Tue, 7 Mar 2006 13:45:07 +0000 (GMT) (envelope-from volker@vwsoft.com) Received: from gwfra.elbekies.net (tce71.tce85.de [195.145.102.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D18443D48 for ; Tue, 7 Mar 2006 13:45:06 +0000 (GMT) (envelope-from volker@vwsoft.com) Received-SPF: pass (gwfra.elbekies.net: domain of vwsoft.com designates 212.23.126.2 as permitted sender) client-ip=212.23.126.2; envelope-from=volker@vwsoft.com; helo=mail.vtec.ipme.de; Received: from mail.vtec.ipme.de (gprs-pool-1-002.eplus-online.de [212.23.126.2]) by gwfra.elbekies.net (Postfix) with ESMTP id D291C1702F for ; Tue, 7 Mar 2006 14:45:01 +0100 (CET) Received: from [127.0.0.1] (unknown [192.168.201.3]) by mail.vtec.ipme.de (Postfix) with ESMTP id 824855C4F; Tue, 7 Mar 2006 14:44:57 +0100 (CET) Message-ID: <440D8E64.7010500@vwsoft.com> Date: Tue, 07 Mar 2006 14:45:08 +0100 From: Volker User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050716 Thunderbird/1.0.6 Mnenhy/0.6.0.101 MIME-Version: 1.0 To: "Patrick M. Hausen" References: <440D74B3.3030309@vwsoft.com> <200603070939.30032.joao@matik.com.br> <20060307124548.GB69143@hugo10.ka.punkt.de> <440D8319.3090109@vwsoft.com> <20060307132221.GC69143@hugo10.ka.punkt.de> In-Reply-To: <20060307132221.GC69143@hugo10.ka.punkt.de> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-VWSoft-MailScanner: Found to be clean X-TarmacIntl-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com Cc: freebsd-stable@freebsd.org, JoaoBR Subject: Re: Fresh install on gmirror'ed disks? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 13:45:07 -0000 Patrick, On 2006-03-07 14:22, Patrick M. Hausen wrote: > Hello! > > On Tue, Mar 07, 2006 at 01:56:57PM +0100, Volker wrote: >> Patrick, >> >> On 2006-03-07 13:45, Patrick M. Hausen wrote: >> ..... >> >>> Are there instructions on how to do this to mirror a slice instead of >>> an entire disk? >>> >>> Thanks, >>> Patrick >> Yes, Ralf S. Engelschall created a good guide: >> http://people.freebsd.org/~rse/mirror/ >> >> See 'GEOM mirror Approach 2: Single Slice, Preferred, More Flexible' > > I _know_. This guide was first mentioned by me in this thread. > But it assumes > > - install > - boot > - create mirror on second disk > - copy data > - reboot > - sync mirror > > Now Joao said, creating a mirrored disk can be done from > the "emergency holographic shell" at install time. OK, fine. > Spares the copying. > > My question was: can I create a mirrored slice instead of > a mirrored disk without copying the data at install time from > the emergency shell? Otherwise I will still have to use Ralf's > instructions, which are a bit more work to follow. > > Thanks, > Patrick As far as I understand Joao's solution, he's mentioning disc mirroring (disc in a whole). When using slice mirroring I don't see a simple solution and RSE's paper is the only way to go. Anybody please correct me if I'm wrong. Greetings, Volker