[PC-BSD Testing] 9-Current Snapshot 20110607 Installation fails

Kris Moore kris at pcbsd.org
Mon Jun 20 07:38:22 PDT 2011


On 06/19/2011 09:11, bitraptor at gmx.net wrote:
> Hi,
>
> Installation on existing slice fails due to incorrect size calculations.
>
> pc-sysinstall.log:
> ...
> Running: gpart create -s BSD /dev/ada1s2
> ada1s2 created
> Running: gpart add -s 2048M -t freebsd-ufs -i 1 /dev/ada1s2
> ada1s2a added
> Running: gpart add -s 1534M -t freebsd-swap -i 2 /dev/ada1s2
> ada1s2b added
> Running: gpart add -s 2048M -t freebsd-ufs -i 4 /dev/ada1s2
> ada1s2d added
> Running: gpart add -s 25070M -t freebsd-ufs -i 5 /dev/ada1s2
> gpart: autofill: No space left on device
> Error 1: gpart add -s 25070M -t freebsd-ufs -i 5 /dev/ada1s2
>
> gpart show /dev/ada1
> =>        63  781422705  ada1  MBR  (372G)
>           63     208782     1  linux-data  (102M)
>       208845   62926605     2  freebsd  (30G)
>     63135450   41945715     3  linux-data  [active]  (20G)
>    105081165         61        - free -  (30k)
>    105081226  676336439     4  !15  (322G)
>    781417665       5103        - free -  (2.5M)
>
> gpart show /dev/ada1s2 after adding gpart add -s 24686M -t freebsd-ufs -i 5 /dev/ada1s2 manually (25070M definitely is too big)
> =>        0  62926605  ada1s2  BSD  (30G)
>           0   4403149       1  freebsd-ufs  (2.1G)
>     4403149   3350477       2  freebsd-swap  (1.6G)
>     7753626   4403149       4  freebsd-ufs  (2.1G)
>    12156775  50765773       5  freebsd-ufs  (24G)
>    62922548      4057          - free -  (2M)
>
> After specifying partition size of 24686M for /usr in advanced settings installation succeeds.
>
> Note: Trying to delete and recreate slice ada1s2 in installer fails, after deletion installer claims that there is not enough space to create a new slice
>
> Thomas

I've seen this here as well, some recent changes to gpart caused some 
bugs in creating partitions to end up being WAY larger than specified. 
I'm rolling a new snapshot now to see if the fixes are working :)


-- 
Kris Moore
PC-BSD Software
iXsystems



More information about the Testing mailing list