From owner-freebsd-geom@FreeBSD.ORG Tue Feb 6 06:20:21 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 B878E16A400 for ; Tue, 6 Feb 2007 06:20:21 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (keira.kiwi-computer.com [63.224.10.3]) by mx1.freebsd.org (Postfix) with SMTP id 473D913C478 for ; Tue, 6 Feb 2007 06:20:21 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: (qmail 50829 invoked by uid 2001); 6 Feb 2007 06:20:17 -0000 Date: Tue, 6 Feb 2007 00:20:17 -0600 From: "Rick C. Petty" To: Hansa Message-ID: <20070206062017.GA50717@keira.kiwi-computer.com> References: <20070129153115.GA36446@keira.kiwi-computer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd geom Subject: Re: How do I gmirror slices? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd@kiwi-computer.com List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2007 06:20:21 -0000 On Mon, Jan 29, 2007 at 05:28:38PM +0100, Hansa wrote: > > > > It's not really outside the file system, it appears at the > > beginning of the > > file system. It's 8KB for UFS1 and 64KB for UFS2. Not only > > that, but that > > 8K or 64K chunk is open/unused at the front of every superblock, that is: > > for every cylinder group, IIRC. > > Is that why fdisk doesn't touches the first 8/64KB before the first slice? > > Offset Size(ST) End Name PType Desc Subtype Flags > > 0 63 62 - 12 unused 0 > 63 12578832 12578894 ad4s1 8 freebsd 165 No, that's actually 63 * 512 = 31.5k. This space is reserved for legacy boot code. FreeBSD skips 8/64KB starting on the slice, in addition to wasted space by the MBR, etc. Actually I think the reason for the 63 is the maximum number of heads times sectors, so the slice is on an even cylinder. Nowadays cylinder/heads/sectors are meaningless. -- Rick C. Petty