From owner-freebsd-geom@FreeBSD.ORG Sat Jun 23 18:34:59 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4189416A468 for ; Sat, 23 Jun 2007 18:34:59 +0000 (UTC) (envelope-from nonsolosoft@diff.org) Received: from smtpi2.ngi.it (smtpi2.ngi.it [88.149.128.21]) by mx1.freebsd.org (Postfix) with ESMTP id BB87113C465 for ; Sat, 23 Jun 2007 18:34:58 +0000 (UTC) (envelope-from nonsolosoft@diff.org) Received: from k7.diff.org (81-174-26-135.static.ngi.it [81.174.26.135] (may be forged)) by smtpi2.ngi.it (8.13.8/8.13.8) with ESMTP id l5NIYhka006745; Sat, 23 Jun 2007 20:34:43 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by k7.diff.org (8.13.8/8.13.8) with ESMTP id l5NIZQMt078206; Sat, 23 Jun 2007 20:35:27 +0200 (CEST) (envelope-from nonsolosoft@diff.org) Message-ID: <467D67EE.5090507@diff.org> Date: Sat, 23 Jun 2007 20:35:26 +0200 From: Ferruccio Zamuner Organization: NonSoLoSoft - Italy - http://www.nonsolosoft.com/ User-Agent: Thunderbird 1.5.0.9 (X11/20070110) MIME-Version: 1.0 To: freebsd-geom@freebsd.org References: <467D2665.4030903@diff.org> In-Reply-To: <467D2665.4030903@diff.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ferruccio Zamuner Subject: Re: gmirror and offset X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jun 2007 18:34:59 -0000 Ferruccio Zamuner wrote: > I've tried to edit bsdlabel: > > r1# bsdlabel -e /dev/mirror/gm0 > > ----- > # /dev/mirror/gm0: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 2097152 0 4.2BSD 0 0 0 > c: 167766732 0 unused 0 0 # "raw" part, > don't edit > e: 12582912 2097152 4.2BSD 0 0 0 > f: 20971520 14680064 4.2BSD 0 0 0 > g: 14680064 35651584 4.2BSD 0 0 0 > h: 117435084 50331648 4.2BSD 0 0 0 > ----- > > BUT bsdlabel writes: > > ----- > partition c: partition extends past end of unit > bsdlabel: partition c doesn't cover the whole unit! > bsdlabel: An incorrect partition c may cause problems for standard > system utilities > partition h: partition extends past end of unit > re-edit the label? [y]: ----- > modified in: ----- # /dev/mirror/gm0: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 2097152 0 4.2BSD 2048 16384 28552 c: 167766731 0 unused 0 0 # "raw" part, don't edit e: 12582912 2097152 4.2BSD 2048 16384 28552 f: 20971520 14680064 4.2BSD 2048 16384 28552 g: 14680064 35651584 4.2BSD 2048 16384 28488 h: 117435083 50331648 4.2BSD 2048 16384 28552 ----- It seems right now. Thank you, \fer