From owner-freebsd-questions@FreeBSD.ORG Sat Apr 21 20:55:09 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B600516A406 for ; Sat, 21 Apr 2007 20:55:09 +0000 (UTC) (envelope-from lists@webtent.net) Received: from esmtp.webtent.net (esmtp.webtent.net [208.38.145.5]) by mx1.freebsd.org (Postfix) with ESMTP id 92E9B13C46C for ; Sat, 21 Apr 2007 20:55:09 +0000 (UTC) (envelope-from lists@webtent.net) Received: from localhost (localhost [127.0.0.1]) by esmtp.webtent.net (WebTent ESMTP Postfix Internet Mail Gateway) with ESMTP id 3A225800FB for ; Sat, 21 Apr 2007 16:55:07 -0400 (EDT) X-Quarantine-ID: X-Virus-Scanned: amavisd-new at webtent.net Received: from esmtp.webtent.net ([127.0.0.1]) by localhost (esmtp.webtent.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id usP03QJIlzC5 for ; Sat, 21 Apr 2007 16:55:07 -0400 (EDT) Received: from columbus.webtent.org (columbus.webtent.org [70.110.70.43]) by esmtp.webtent.net (WebTent ESMTP Postfix Internet Mail Gateway) with ESMTP id D9A95800E5 for ; Sat, 21 Apr 2007 16:55:06 -0400 (EDT) From: Robert Fitzpatrick To: FreeBSD In-Reply-To: <462A302F.5080604@webtent.net> References: <462A302F.5080604@webtent.net> Content-Type: text/plain Organization: WebTent Networking, Inc. Date: Sat, 21 Apr 2007 16:52:46 -0400 Message-Id: <1177188766.2783.2.camel@columbus.webtent.org> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit Subject: Re: Boot problem after GEOM setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Apr 2007 20:55:09 -0000 On Sat, 2007-04-21 at 11:39 -0400, Robert Fitzpatrick wrote: > Following the doc below, I am trying to mirror an existing disk, ad0, > which holds the root and /usr partitions (a second disk holds /var). I > have an exact same disk in as ad2 in the system and did everything in > this document top section through dumping the data and setting up > /etc/fstab and loader.conf. I created the /boot.config as shown except I > replaced the '1' with '2' just like I did for the other steps, but this > does not appear correct. I now stall when booting at the boot: prompt. > What can I type in the boot: prompt to get back in my system and make > the necessary changes? Also, what should the /boot.config look like to > boot to my new disk and continue through the steps for adding the first > disk to the mirror? I guess it looks like this now: 1:ad(2,a)/boot/loader. > > http://people.freebsd.org/~rse/mirror/ > I was able to recover with a FreeSBIE and go back, seems I was close. I have the GEOM working now as shown below. However, after successfully synchronizing and doing a reboot, it shows up DEGRADED after every reboot and synchronizes again, is that normal? genoa# gmirror list Geom name: gm0 State: DEGRADED Components: 2 Balance: round-robin Slice: 4096 Flags: NONE SyncID: 1 ID: 4224071626 Providers: 1. Name: mirror/gm0 Mediasize: 15364338688 (14G) Sectorsize: 512 Mode: r4w3e2 Consumers: 1. Name: ad0 Mediasize: 15364339200 (14G) Sectorsize: 512 Mode: r0w1e1 State: SYNCHRONIZING Priority: 0 Flags: DIRTY, SYNCHRONIZING SyncID: 1 Synchronized: 28% ID: 4099754703 2. Name: ad2 Mediasize: 15364339200 (14G) Sectorsize: 512 Mode: r4w3e3 State: ACTIVE Priority: 0 Flags: DIRTY SyncID: 1 ID: 3454124143 Geom name: gm0.sync Consumers: 1. Name: mirror/gm0 Mediasize: 15364338688 (14G) Sectorsize: 512 Mode: r1w0e0 -- Robert