From nobody@FreeBSD.org  Thu Nov 10 08:15:38 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D9FDD1065670
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 10 Nov 2011 08:15:38 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id C9A6E8FC23
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 10 Nov 2011 08:15:38 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pAA8Fcqa051986
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 10 Nov 2011 08:15:38 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id pAA8Fc1g051985;
	Thu, 10 Nov 2011 08:15:38 GMT
	(envelope-from nobody)
Message-Id: <201111100815.pAA8Fc1g051985@red.freebsd.org>
Date: Thu, 10 Nov 2011 08:15:38 GMT
From: anatoly techtonik <techtonik@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: 9.x installer fails with extract error on ports
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         162428
>Category:       bin
>Synopsis:       bsdinstall(8): should check available disk space from distfiles
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-sysinstall
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 10 08:20:18 UTC 2011
>Closed-Date:    
>Last-Modified:  Thu Apr 26 23:10:09 UTC 2012
>Originator:     anatoly techtonik
>Release:        9.0rc1
>Organization:
>Environment:
>Description:
I'm trying to install FreeBSD in QEMU with 2Gb disk. Installation fails when unpacking ports with Extract Error:

Error while creating ports.txz:
Can't create 'usr/ports/net/xisp/files/CVS/Repository'

Text on background shows 'out of inodes' error (see screenshot at http://i39.tinypic.com/s2bif9.png). If space is a problem - the installer should warn about it beforehand. Unfortunately, I can't find a way how to switch to alternative console in installer to check free disk space.

>How-To-Repeat:
qemu-img create -f qcow2 freebsd.qcow 2G
qemu -hda freebsd.qcow -cdrom FreeBSD-9.0-RC1-i386-bootonly.iso -boot d -m 256

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Nov 20 20:24:13 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162428 

From: Chris Coleman <cjwcoleman@gmail.com>
To: "bug-followup@FreeBSD.org" <bug-followup@FreeBSD.org>,
 "techtonik@gmail.com" <techtonik@gmail.com>
Cc:  
Subject: Re: bin/162428: bsdinstall(8): should check available disk space from distfiles
Date: Fri, 27 Apr 2012 00:08:09 +0100

 Just to note, the problem here is defaulting inode size to 4KB. It means tha=
 t smaller disks have a very limited number of inodes. If you search for the i=
 node issue you will find people recommending using newfs to change it. An in=
 stall in 4GB worked with 1KB inode size for me.  I believe there was already=
  discussion about inode count issues elsewhere, but I cannot immediately see=
  which PR that was.=20
>Unformatted:
