From owner-freebsd-sparc64@FreeBSD.ORG Fri Mar 3 11:21:01 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 DA7B416A420 for ; Fri, 3 Mar 2006 11:21:01 +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 127BC43D46 for ; Fri, 3 Mar 2006 11:21:00 +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 k23BKv1k018732; Fri, 3 Mar 2006 12:20:58 +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 k23BKr7A083389 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Mar 2006 12:20:54 +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 k23BKrGr081069; Fri, 3 Mar 2006 12:20:53 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id k23BKqb8081068; Fri, 3 Mar 2006 12:20:52 +0100 (CET) (envelope-from ticso) Date: Fri, 3 Mar 2006 12:20:52 +0100 From: Bernd Walter To: Joacim Melin Message-ID: <20060303112051.GJ79058@cicely12.cicely.de> References: <20060303080109.GA81736@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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, 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: Fri, 03 Mar 2006 11:21:02 -0000 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? > I have a system installed on /dev/ad0 already. I found one howto > where you could break out of the install phase and do the gmirror > thing but since this box (Netra X1) is headless and only operated via > a serial connection I haven't found out how to make that happen. It is much easier to do a normal installation leaving a few sectors unpartitioned space at the end of the drive for the later label and then migrate. > >gmirror should just work, BTW. At least it does here. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de