| Summary: | Can't install FreeBSD-amd64-9.0-RC2 on disk less than 6Go (/mnt: out of inodes) | ||
|---|---|---|---|
| Product: | Base System | Reporter: | olivier |
| Component: | bin | Assignee: | Kirk McKusick <mckusick> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
olivier
2011-11-18 10:30:13 UTC
Hi, I've did some tests: The number of inode after a fresh install of 9.0-RC2 is half the number of inode after the fresh install of a 8.2. I've install a 6Gio hard drive, MBR, no swap partition and all in / (under VirtualBox). After a fresh install of 8.2 (=ABuser=BB insall): [root@vm]~#df -i Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted = on /dev/ad0s1a 6090038 451176 5151660 8% 12509 788257 1% / devfs 1 1 0 100% 0 0 100% /dev number of inode =3D iused + ifree =3D 800766 After a fresh install of 9.0: (base,kernel,games,lib32) [root@vm]~#df -i Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted = on /dev/ada0s1a 6184164 684012 5005420 12% 13409 412829 3% / devfs 1 1 0 100% 0 0 100% /dev number of inode =3D iused + ifree =3D 426238 This is a big problem: It prevent to extract or update the port tree=85 Thanks, Olivier State Changed From-To: open->patched Suggested patch has been applied. Responsible Changed From-To: freebsd-bugs->mckusick I will take responsibility. Author: mckusick Date: Fri Jan 13 07:19:02 2012 New Revision: 230049 URL: http://svn.freebsd.org/changeset/base/230049 Log: MFC: 228794 Reduce NFPI by half to keep the default number of inodes the same with the now default 32K/4K filesystem the same as the number of inodes in the previously default 16K/2K filesystem. PR: bin/162659 Reported by: Olivier Cochard-Labbe <olivier@cochard.me> Modified: stable/9/sbin/newfs/newfs.h Directory Properties: stable/9/sbin/newfs/ (props changed) Modified: stable/9/sbin/newfs/newfs.h ============================================================================== --- stable/9/sbin/newfs/newfs.h Fri Jan 13 07:10:52 2012 (r230048) +++ stable/9/sbin/newfs/newfs.h Fri Jan 13 07:19:02 2012 (r230049) @@ -70,7 +70,7 @@ * We allocate one inode slot per NFPI fragments, expecting this * to be far more than we will ever need. */ -#define NFPI 4 +#define NFPI 2 /* * variables set up by front end. _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" State Changed From-To: patched->closed The fix has been verified in head. The fix has been MFC'ed to 9. The fix is not applicable to release 8 or earlier. |