gpart sizes way off

Andrey V. Elsukov ae at FreeBSD.org
Mon Jun 20 18:13:40 UTC 2011


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20110620/122d0d1a/signature.pgp


More information about the freebsd-geom mailing list