From owner-freebsd-current@FreeBSD.ORG Fri Jun 6 11:20:03 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F96437B401 for ; Fri, 6 Jun 2003 11:20:03 -0700 (PDT) Received: from ns2.gnf.org (ns2.gnf.org [63.196.132.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FE4243F85 for ; Fri, 6 Jun 2003 11:20:02 -0700 (PDT) (envelope-from gtetlow@gnf.org) Received: from EXCHCLUSTER01.lj.gnf.org (exch01.lj.gnf.org [172.25.10.19]) by ns2.gnf.org (8.12.8p1/8.12.8) with ESMTP id h56IK0Ro093566 for ; Fri, 6 Jun 2003 11:20:00 -0700 (PDT) (envelope-from gtetlow@gnf.org) Received: from roark.gnf.org ([172.25.24.15]) by EXCHCLUSTER01.lj.gnf.org with Microsoft SMTPSVC(5.0.2195.5329); Fri, 6 Jun 2003 11:20:02 -0700 Received: from roark.gnf.org (localhost [127.0.0.1]) by roark.gnf.org (8.12.9/8.12.9) with ESMTP id h56IK1Nb021290; Fri, 6 Jun 2003 11:20:01 -0700 (PDT) (envelope-from gtetlow@gnf.org) Received: (from gtetlow@localhost) by roark.gnf.org (8.12.9/8.12.9/Submit) id h56IK1cT021289; Fri, 6 Jun 2003 11:20:01 -0700 (PDT) Date: Fri, 6 Jun 2003 11:20:01 -0700 From: Gordon Tetlow To: Per Kristian Hove Message-ID: <20030606182001.GJ691@roark.gnf.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xdAuejbAAr3yyIdQ" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . X-OriginalArrivalTime: 06 Jun 2003 18:20:02.0339 (UTC) FILETIME=[3F11EF30:01C32C58] cc: freebsd-current@freebsd.org Subject: Re: geom_vol_ffs problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2003 18:20:03 -0000 --xdAuejbAAr3yyIdQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jun 06, 2003 at 07:38:36PM +0200, Per Kristian Hove wrote: > I've nailed it down to this: geom_vol_ffs assumes that a file system > is able to fill the partition completely. That's not a valid > assumption, since the file system size is a multiple of the file > system block size (in my case 16k bytes = 32 blocks), and the > partition size is/should be a multiple of the sectors/cylinder count > (in my case 1008). Thanks for doing this analysis. I've run into the same thing here at work but I just haven't had any time to debug it. I'll see if I can work something up that'll address this problem. -gordon --xdAuejbAAr3yyIdQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+4NtRRu2t9DV9ZfsRAvo3AJ9XIwhapKlqiiItICGYHfxzfe1zIwCgnz3+ CPd3pHHQPQ653Ak1gE+hkmw= =cjWB -----END PGP SIGNATURE----- --xdAuejbAAr3yyIdQ--