From owner-freebsd-current@FreeBSD.ORG Fri Nov 18 06:43:06 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14C11106564A; Fri, 18 Nov 2011 06:43:06 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id B42A68FC0A; Fri, 18 Nov 2011 06:43:05 +0000 (UTC) Received: by yenl11 with SMTP id l11so3098420yen.13 for ; Thu, 17 Nov 2011 22:43:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=SLQAcJpL6DrT4zZZeAgjEWVnVrlooF1EK59+SQFDeJE=; b=TQeWS8H8suTswY/cKZ5+hC7qWiytXKn3zFFNFfm29r8aaZ73uVOAgH9WJI8be2YbFj zfp9UjVb1gJGB07MmPYuHMKchb8gI9/up2mjtdcRFXnmuYxzykR3Gdto2L6F6U2z2TPY oJ7JEnMuP7ZyHH3ngYVrsil21p6KsDcSIFlMc= MIME-Version: 1.0 Received: by 10.182.225.3 with SMTP id rg3mr400917obc.77.1321598584631; Thu, 17 Nov 2011 22:43:04 -0800 (PST) Received: by 10.182.7.34 with HTTP; Thu, 17 Nov 2011 22:43:04 -0800 (PST) In-Reply-To: References: Date: Thu, 17 Nov 2011 22:43:04 -0800 Message-ID: From: Garrett Cooper To: Benjamin Kaduk Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= , freebsd-current@freebsd.org, nwhitehorn@freebsd.org Subject: Re: Can't install FreeBSD-amd64-9.0-RC2: "/mnt: out of inodes" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2011 06:43:06 -0000 2011/11/17 Benjamin Kaduk : > 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