Bug 162428 - bsdinstall(8): should check available disk space from distfiles
Summary: bsdinstall(8): should check available disk space from distfiles
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: install
Depends on:
Blocks:
 
Reported: 2011-11-10 08:20 UTC by techtonik
Modified: 2022-10-13 17:47 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description techtonik 2011-11-10 08:20:18 UTC
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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-11-20 20:24:13 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-sysinstall

Over to maintainer(s).
Comment 2 cjwcoleman 2012-04-27 00:08:09 UTC
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
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:02 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped