Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Nov 2011 22:43:04 -0800
From:      Garrett Cooper <yanegomi@gmail.com>
To:        Benjamin Kaduk <kaduk@mit.edu>
Cc:        =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= <olivier@cochard.me>, freebsd-current@freebsd.org, nwhitehorn@freebsd.org
Subject:   Re: Can't install FreeBSD-amd64-9.0-RC2: "/mnt: out of inodes"
Message-ID:  <CAGH67wS1bErcsQDU1y8WCicGe-m8YMzbnh8QnTW=XxkK-76UOQ@mail.gmail.com>
In-Reply-To: <alpine.GSO.1.10.1111172244190.882@multics.mit.edu>
References:  <CA%2Bq%2BTcotZu6%2BjoAA8gj-w2z9qgEyLCPA-VXB6bmoVGNKms0XnQ@mail.gmail.com> <alpine.GSO.1.10.1111172244190.882@multics.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/11/17 Benjamin Kaduk <kaduk@mit.edu>:
> On Thu, 17 Nov 2011, Olivier Cochard-Labb=E9 wrote:
>
>> Hi all,
>>
>> I tried to install FreeBSD-9.0-RC2-amd64-dvd1.iso (SHA256 verified) on
>> a VM and meet a reproducible problem:
>> The VM has 128Mo RAM and a 4Go hard drive.
>>
>> During install process I choose these distribution sets: ports and src
>> only.
>> And I'm using guided partitioning / Entire Disk / All Auto
>>
>> But each time (I delete and re-create a new VM multiple times) the
>> installer failed during archive extraction of ports.txz (at about 88%
>> progress of this file extraction) with this message:
>>
>> Error while extracting ports.txz:
>> Can't create
>> 'usr/ports/databases/p5-DBIx-Sunny/pkg-plist'
>>
>> And on the background there is this message:
>> ...on /mnt: out of inodes
>>
>> Can someone else confirm this problem before I fill a PR ?
>
> A 4G disk is perhaps quite rare these days, but I expect that the issue i=
s
> real. =A0Please file the PR.
>
> The default block and fragment size for UFS/FFS were bumped by mckusick i=
n
> r222319 (to general assent); presumably the installer should gain some lo=
gic
> to use smaller values for smaller disks, so that the available number of
> inodes is larger. =A0(I presume that you have successfully installed earl=
ier
> releases on 4G disk, of course. =A0Though ... I think I may have, myself.=
)
> =A0The ports tree has a very large number of small files, and is thus a v=
ery
> intensive user of inodes.
>
>
> Alas, my five minutes of searching were not enough to find where bsdinsta=
ll
> is actually generating default filesystem options, so I couldn't confirm
> this assumption.

Look for newfs_command in gpart_ops.c .
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wS1bErcsQDU1y8WCicGe-m8YMzbnh8QnTW=XxkK-76UOQ>