Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2011 19:01:01 -0600
From:      Ron McDowell <rcm@fuzzwad.org>
To:        Benjamin Kaduk <kaduk@MIT.EDU>
Cc:        =?ISO-8859-1?Q?Olivier_Cochard-Labb=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:  <4EC6FFCD.4080509@fuzzwad.org>
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
Benjamin Kaduk wrote:
> 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=20
>> 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=20
> issue is real.  Please file the PR.
>
> The default block and fragment size for UFS/FFS were bumped by=20
> mckusick in r222319 (to general assent); presumably the installer=20
> should gain some logic to use smaller values for smaller disks, so=20
> that the available number of inodes is larger.  (I presume that you=20
> have successfully installed earlier releases on 4G disk, of course. =20
> Though ... I think I may have, myself.)  The ports tree has a very=20
> large number of small files, and is thus a very intensive user of inode=
s.
>
>
> Alas, my five minutes of searching were not enough to find where=20
> bsdinstall is actually generating default filesystem options, so I=20
> couldn't confirm this assumption.
>
> Thanks for the report,
>
> Ben Kaduk

I see the same thing by creating 4gb filesystems for /usr/src and=20
/usr/obj on a larger hard disk, which, IMO, _is_ a reasonable thing to=20
do, and works fine on 8.2.

--=20
Ron McDowell
San Antonio TX





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