misc/163051: Small disk sizes with 4k sectors have far too few inodes in RC2

Patrick Barletta teamdest at pbarletta.com
Sun Dec 4 10:13:49 UTC 2011


>Number:         163051
>Category:       misc
>Synopsis:       Small disk sizes with 4k sectors have far too few inodes in RC2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 04 10:13:48 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Barletta
>Release:        9.0 RC2
>Organization:
Blazenet.org
>Environment:
FreeBSD loki 9.0-RC2 FreeBSD 9.0-RC2 #0: Sat Nov 12 18:35:25 UTC 2011     root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
When installing a 9.0 system to a small disk (such as might be used on a virtual machine), so few inodes are allocated that after the installation of the ports tree and possibly one or two trivial operations, no inodes are left free. Supposedly this is a problem related to the switchover to 4k sectors from 512 byte ones, but I have not verified that. The solution may be as simple as change the inode allocation density when installing on small system drives (in this case, a 5GB VMDK drive under vSphere 5)
>How-To-Repeat:
Install FreeBSD 9.0 RC2 on a small system partition (Under 8 GB or so).
>Fix:
Possibly change the inode allocation density when running newfs on the system at installation.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list