From owner-freebsd-sparc64@FreeBSD.ORG Sat Mar 4 13:10:28 2006 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDA0916A420 for ; Sat, 4 Mar 2006 13:10:28 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from ant.bwct.de (ant.bwct.de [85.159.14.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2E9E43D45 for ; Sat, 4 Mar 2006 13:10:27 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by ant.bwct.de (8.12.11/8.12.11) with ESMTP id k24DAPqt002494; Sat, 4 Mar 2006 14:10:25 +0100 (CET) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id k24DAL5r097164 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Mar 2006 14:10:22 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id k24DALjn085216; Sat, 4 Mar 2006 14:10:21 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id k24DAKuO085215; Sat, 4 Mar 2006 14:10:20 +0100 (CET) (envelope-from ticso) Date: Sat, 4 Mar 2006 14:10:20 +0100 From: Bernd Walter To: Joacim Melin Message-ID: <20060304131020.GC82798@cicely12.cicely.de> References: <20060303080109.GA81736@xor.obsecurity.org> <20060303112051.GJ79058@cicely12.cicely.de> <3A086198-3D98-4088-A116-06A4F2E7F35B@melin.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3A086198-3D98-4088-A116-06A4F2E7F35B@melin.org> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Report: * -3.3 ALL_TRUSTED Did not pass through any untrusted hosts * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on cicely12.cicely.de Cc: freebsd-sparc64@freebsd.org, ticso@cicely.de, Kris Kennaway Subject: Re: Software raid on Sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Mar 2006 13:10:28 -0000 On Sat, Mar 04, 2006 at 01:55:43PM +0100, Joacim Melin wrote: > Thanks! > > However, there is no loader.conf in /boot. There is one in /boot/ > defaults though. Is that just a template file for a loader.conf or is > that the actual one where I put in geom_mirror_load="YES" ? Both are used - first the one in defaults is parsed to get the default definitions and if exists the one in /boot is parsed next to overwrite or define additional variables. Just create /boot/loader.conf, if you don't have one yet. > On 3 mar 2006, at 12.20, Bernd Walter wrote: > > >On Fri, Mar 03, 2006 at 09:06:34AM +0100, Joacim Melin wrote: > >>I created the raid, did a dump from my current root (/dev/ad0) to the > >>second drive /dev/ad1). I then take it that the box would start > >>from / > >>dev/ad1 so I could put /dev/ad0 into the raid with gmirror but it > >>just rebooted to /dev/ad0 and the raid, /dev/mirror/gm0, was gone. > > > >You have to put the following into /boot/loader.conf: > >geom_mirror_load="YES" > >If you don't then GEOM won't check for gmirror labels. > > > >And of course put the name of the mirrored partition into fstab. > >If you still have ad0 in the fstab on your boot drive, why should > >the system mount anything else? -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de