Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2011 22:13:26 +0400
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        Kris Moore <kris@pcbsd.org>
Cc:        freebsd-geom@FreeBSD.ORG
Subject:   Re: gpart sizes way off
Message-ID:  <4DFF8DC6.1010701@FreeBSD.org>
In-Reply-To: <4DFF8611.4090705@pcbsd.org>
References:  <4DFF8611.4090705@pcbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 20.06.2011 21:40, Kris Moore wrote:
> 
> Not sure if this has been reported, apologies if I'm late to noticing this.
> 
> 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:
> 
> # 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`.

-- 
WBR, Andrey V. Elsukov


[-- Attachment #2 --]
-----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-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DFF8DC6.1010701>