Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2011 15:10:10 GMT
From:      Scot Hetzel <swhetzel@gmail.com>
To:        freebsd-amd64@FreeBSD.org
Subject:   Re: amd64/155023: Bad propose size in disklabel during install
Message-ID:  <201102251510.p1PFAAIK065011@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR amd64/155023; it has been noted by GNATS.

From: Scot Hetzel <swhetzel@gmail.com>
To: Fabrice <fabrice.bruel@orange-ftgroup.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: amd64/155023: Bad propose size in disklabel during install
Date: Fri, 25 Feb 2011 08:39:14 -0600

 On Fri, Feb 25, 2011 at 4:16 AM, Fabrice
 <fabrice.bruel@orange-ftgroup.com> wrote:
 > I'm try to install FreeBSD 8.2 amd64 on a ESXi 4.1. I create a virtualdis=
 k of 20Go and so I boot on the 8.2 iso
 >
 > During install, in disklabel,the size af the disk before any action :
 > Disk: da0 Partion name: da0s1 Free: 41929587 blocks (20473MB)
 >
 > I choose first "A auto defaults" and so disklabel create :
 > da0s1a =A0 =A0/ =A0 =A0 =A0 =A0 1024MB UFS2 =A0 Y
 > da0s1b =A0 =A0swap =A0 =A0 =A04061MB swap
 > da0s1d =A0 =A0/var =A0 =A0 =A06126MB UFS2+S Y
 > da0s1e =A0 =A0/tmp =A0 =A0 =A01024MB UFS2+S Y
 > da0s1f =A0 =A0/usr =A0 =A0 =A08237MB UFS2+S Y
 >
 > To be able to compile the world, I want change the size of / and /tmp.
 >
 > So I delete /tmp / and /usr
 > Disklabel say :
 > Disk: da0 Partion name: da0s1 Free: 21065651 blocks (10285MB)
 > So I create manualy / with size =3D 2G and /tmp with size =3D 2G
 >
 
 What happened is that the disklabel editor had pre-allocated chunks
 for each partition:
 
 old /           0-1G      1G
 swap         1G-5G     4G
 /var            5G-11G   6G
 old /tmp   11G-12G    1G
 old /usr     12G-20G   8G
 
 
 The problem is that when you recreated your new / partition it used
 2GB from the old /tmp (1G) + old /usr (8G) partitions (which is the
 largest continuous space available), which left only 7G available for
 you to partition between your new 2G /tmp and 5G /usr partitions.
 
 
                  0-1G      1G <- space available
 swap         1G-5G     4G
 /var            5G-11G   6G
 new /       11G-13G   2G
 new /tmp 13G-15G    2G
 new /usr  15G-20G    5G
 
 To fix this, you need to delete all the partitions and start over.
 
 Scot



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