From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 06:38:05 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A6EC16A4CE for ; Fri, 14 Jan 2005 06:38:05 +0000 (GMT) Received: from galilee.polands.org (CPE-24-208-53-189.new.rr.com [24.208.53.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9991943D41 for ; Fri, 14 Jan 2005 06:38:04 +0000 (GMT) (envelope-from djp@polands.org) Received: from jericho.polands.org (jericho.polands.org [172.16.1.35]) by galilee.polands.org (8.12.9/8.12.9) with ESMTP id j0E6c1RZ026657; Fri, 14 Jan 2005 00:38:01 -0600 (CST) (envelope-from djp@polands.org) Received: from jericho.polands.org (localhost [127.0.0.1]) by jericho.polands.org (8.13.1/8.13.1) with ESMTP id j0E6c1iQ007231; Fri, 14 Jan 2005 00:38:01 -0600 (CST) (envelope-from djp@jericho.polands.org) Received: (from djp@localhost) by jericho.polands.org (8.13.1/8.13.1/Submit) id j0E6c0GW007230; Fri, 14 Jan 2005 00:38:00 -0600 (CST) (envelope-from djp) Date: Fri, 14 Jan 2005 00:38:00 -0600 From: Doug Poland To: Christian Hiris <4711@chello.at> Message-ID: <20050114063800.GA7175@polands.org> References: <20050113025339.GC1218@polands.org> <200501130951.17307.4711@chello.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200501130951.17307.4711@chello.at> User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: gmirror problem on 5.3-R i386 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2005 06:38:05 -0000 On Thu, Jan 13, 2005 at 09:51:03AM +0100, Christian Hiris wrote: > On Thursday 13 January 2005 03:54, Doug Poland wrote: > > > > # dd if=/dev/zero of=/dev/ad4 bs=512 count=79 > > You probably destroyed your slice table here. The dd command only > makes sense if you insert whole disks (ie. /dev/ad4 and /dev/ad6) as > providers. Otherwise you need to create (or already have) a valid > slice table on the disk, which enables gmirror to locate and insert > your slice. > I wonder why it's documented to do that? Guess that proves I'm too green to understand the consequences of my actions. > (!) Before you start to correct your gmirror setup, please read all of > my comments, because to me it looks like you run a mirror of ad6 and > not ad6s1. > I'm quite sure I entered ad6s1 as opposed to ad6 in my commands. In retrospect, however, I think I horked up my bsdlabel for /dev/mirror/gsm0. I didn't set the offset for the a partition to 16. Perhaps that accounts for the difference? While I was waiting for a reply I messed around with the configuration and throughly broke it. It's no big deal as this is a brand new server with nothing on it but a minimal install. I want to get this gmirror working and understand it before I put the box into production. I decided to start over (re-install 5.3) and go through the instructions more carefully. I'll email the list if I have more/other problems, thanks for your help. -- Regards, Doug