From owner-freebsd-geom@FreeBSD.ORG Thu Feb 24 22:37:48 2005 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B62DF16A4CE for ; Thu, 24 Feb 2005 22:37:48 +0000 (GMT) Received: from sccrmhc11.comcast.net (sccrmhc14.comcast.net [204.127.202.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DBF043D41 for ; Thu, 24 Feb 2005 22:37:48 +0000 (GMT) (envelope-from andy@firman.us) Received: from music (pcp0010742749pcs.howard01.md.comcast.net[69.243.82.98]) by comcast.net (sccrmhc14) with ESMTP id <2005022422374701400s7svfe>; Thu, 24 Feb 2005 22:37:47 +0000 Received: from andy by music with local (Exim 4.43) id 1D4Rb8-0003wI-5N for freebsd-geom@freebsd.org; Thu, 24 Feb 2005 17:36:42 -0500 Date: Thu, 24 Feb 2005 17:36:42 -0500 From: Andy Firman To: freebsd-geom@freebsd.org Message-ID: <20050224223641.GC15112@music> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i Subject: bsdlabel problem for gmirror X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andy Firman List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2005 22:37:48 -0000 I am following this guide exactly on 5.3-stable: http://people.freebsd.org/~rse/mirror/ and I am using 2 fresh Western Digital WD800JBRTL 80GB drives. The first time I did the gmirror "Approach 1: Whole Disk" it worked having one drive on ad0 and the other on ad2. Quick first question: Having each drive on a different controller is preferable right? The howto has the drives on ad0 and ad1 which would be same controller. The first time was practice. I have just failed to do it again 5 times in a row and I am really, really frustrated. I am most likely making a big mistake at this point: bsdlabel -e /dev/mirror/gm0s1 # create custom partitions So my second question is when you start "a" partition at offset 16, partitions "a" and "b" overlap. So how would you recommend making them NOT overlap? -------------------------------------- This is what the bsdlabel is/was for ad0s1: bash-2.05b# bsdlabel ad0s1 # /dev/ad0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 10485760 0 4.2BSD 2048 16384 28552 b: 4194304 10485760 swap c: 156296322 0 unused 0 0 # "raw" part, don't edit d: 20971520 14680064 4.2BSD 2048 16384 28552 e: 120644738 35651584 4.2BSD 2048 16384 28552 ----------------------------------------- THIS IS REAL ONE for gm0s1 that I made and saved with no complaints: # /dev/mirror/gm0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 10485744 16 4.2BSD 2048 16384 28552 b: 4194304 10485760 swap c: 156296322 0 unused 0 0 # "raw" part, don't edit d: 20971520 14680064 4.2BSD 2048 16384 28552 e: 120644738 35651584 4.2BSD 2048 16384 28552 --------------------------------------------- Thanks for any help. -Andy