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

bitraptor at gmx.net bitraptor at gmx.net
Sun Jun 19 06:11:20 PDT 2011


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
-- 
NEU: FreePhone - kostenlos mobil telefonieren!			
Jetzt informieren: http://www.gmx.net/de/go/freephone


-- 
NEU: FreePhone - kostenlos mobil telefonieren!			
Jetzt informieren: http://www.gmx.net/de/go/freephone


More information about the Testing mailing list