From owner-freebsd-geom@FreeBSD.ORG Mon Jun 20 18:13:40 2011 Return-Path: Delivered-To: freebsd-geom@FreeBSD.ORG Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id B98D4106566B for ; Mon, 20 Jun 2011 18:13:40 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 9E12020467C; Mon, 20 Jun 2011 18:13:39 +0000 (UTC) Message-ID: <4DFF8DC6.1010701@FreeBSD.org> Date: Mon, 20 Jun 2011 22:13:26 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110429 Thunderbird/3.1.10 MIME-Version: 1.0 To: Kris Moore References: <4DFF8611.4090705@pcbsd.org> In-Reply-To: <4DFF8611.4090705@pcbsd.org> X-Enigmail-Version: 1.1.2 OpenPGP: id=10C8A17A Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig59E1DCC9EACBA738AB4530A1" Cc: freebsd-geom@FreeBSD.ORG Subject: Re: gpart sizes way off 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: Mon, 20 Jun 2011 18:13:40 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig59E1DCC9EACBA738AB4530A1 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 20.06.2011 21:40, Kris Moore wrote: >=20 > Not sure if this has been reported, apologies if I'm late to noticing t= his. >=20 > I'm not sure if something has changed in the past few weeks on CURRENT > to cause this, or if we are just noticing it for the first time, but > when doing installs and using "gpart add" for creating partitions on a > 2nd MBR slice, the sizes we are giving it are WAY off what actually is > allocated. For example: >=20 > # gpart add -s 2048M -t freebsd-ufs -i 1 /dev/ada0s2 > ada0s2a added > # gpart add -s 1534M -t freebsd-swap -i 2 /dev/ada0s2 > ada0s2b added > # gpart add -s 2048M -t freebsd-ufs -i 4 /dev/ada0s2 > ada0s2d added > # gpart add -s 97165M -t freebsd-ufs -i 5 /dev/ada0s2 > gpart: autofill: No space left on device Which revision do you use? Also, please, show the output of `gpart list` and `geom disk list`. --=20 WBR, Andrey V. Elsukov --------------enig59E1DCC9EACBA738AB4530A1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAEBAgAGBQJN/43KAAoJEAHF6gQQyKF6X1QH/1m0/xdo5cUlMjFj7/UGkSOm EML9ViO8dvBiOJD84cCaED9vZUievYZW4T/ZpCoi9h0IwZzAF4RM7SF28lI0RpxP N0ANF+xSXnis1V2uD4OvwRbIXTiic1qnTEmMwq3DtV4hX5uDb6KcQS3LXSv0XfG9 vXWUZpp4XuIqJPskCSzAviyfS+7zLh1EOGG6OeIaUtJBzdjDRen8STIRyLBNNh/J LY9LZ1HjPW0s8nP7Ds9x1vd315xoKJwswLoiKQhJMZFl9dbTkNJQaKyofcms/yZZ 35jpZmeLp5nUXCmInYpeaSVsl0Xz2f9UGePX+PSjT4tvIAvcEjcD9GK9LtVQvn4= =8bQ7 -----END PGP SIGNATURE----- --------------enig59E1DCC9EACBA738AB4530A1--