From owner-freebsd-sparc64@FreeBSD.ORG Sat Mar 4 12:56:03 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 219D016A422 for ; Sat, 4 Mar 2006 12:56:03 +0000 (GMT) (envelope-from listor@melin.org) Received: from adamomail.se (mail.adamomail.se [208.49.108.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70F0143D45 for ; Sat, 4 Mar 2006 12:56:01 +0000 (GMT) (envelope-from listor@melin.org) Received: from stanley.melin.org ([81.216.195.144] verified) by adamomail.se (CommuniGate Pro SMTP 4.2.9) with ESMTP id 1784510; Sat, 04 Mar 2006 13:49:39 +0100 Received: from localhost (localhost [127.0.0.1]) by stanley.melin.org (Postfix) with ESMTP id 3D88031D300; Sat, 4 Mar 2006 13:55:55 +0100 (CET) Received: from stanley.melin.org ([127.0.0.1]) by localhost (144.195.216.81.tab.siw.siwnet.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28200-09; Sat, 4 Mar 2006 13:55:45 +0100 (CET) Received: from [10.0.1.9] (144.195.216.81.static.tab.siw.siwnet.net [81.216.195.144]) by stanley.melin.org (Postfix) with ESMTP id DE22931D2DC; Sat, 4 Mar 2006 13:55:44 +0100 (CET) In-Reply-To: <20060303112051.GJ79058@cicely12.cicely.de> References: <20060303080109.GA81736@xor.obsecurity.org> <20060303112051.GJ79058@cicely12.cicely.de> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3A086198-3D98-4088-A116-06A4F2E7F35B@melin.org> Content-Transfer-Encoding: 7bit From: Joacim Melin Date: Sat, 4 Mar 2006 13:55:43 +0100 To: ticso@cicely.de X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: by amavisd-new at melin.org 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 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 12:56:03 -0000 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" ? Joacim 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? > >> 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 >