UFS Panic on 7.1 -> ffs_valloc: dup alloc

Tom Judge tom at tomjudge.com
Tue Dec 1 19:14:22 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jaakko Heinonen wrote:
> On 2009-11-30, Tom Judge wrote:
>> kern/122380
>> kern/133980
>>
>> Any ideas on a fix?
>>
>> panic: ffs_valloc: dup alloc
> 
> You may be hitting UFS2 32-bit inode limit bug. See this analysis by
> Bruce Evans:
> 
> http://docs.freebsd.org/cgi/mid.cgi?20090508120355.S1497
> 

I briefly read the information that you linked to.  It seems this is for
file systems that are very large or have strange tuning?  This is a
standard FS created by newfs with soft updates enabled.


Is either of the mentioned PR's relevant to this bug?  If so I can
submit an update.

- -- FS INFO --

df -i /usr/home
Filesystem       1K-blocks  Used    Avail Capacity iused   ifree %iused
 Mounted on
/dev/mirror/home  20308396 55764 18627962     0%   13419 2624403    1%
 /usr/home



dumpfs /dev/mirror/home | head -n18
magic	19540119 (UFS2)	time	Tue Dec  1 19:09:22 2009
superblock location	65536	id	[ 4b07e10b 31429cb7 ]
ncg	112	size	10485759	blocks	10154198
bsize	16384	shift	14	mask	0xffffc000
fsize	2048	shift	11	mask	0xfffff800
frag	8	shift	3	fsbtodb	2
minfree	8%	optim	time	symlinklen 120
maxbsize 16384	maxbpg	2048	maxcontig 8	contigsumsize 8
nbfree	1265749	ndir	3721	nifree	2624403	nffree	324
bpg	11758	fpg	94064	ipg	23552	unrefs	0
nindir	2048	inopb	64	maxfilesize	140806241583103
sbsize	2048	cgsize	16384	csaddr	3000	cssize	2048
sblkno	40	cblkno	48	iblkno	56	dblkno	3000
cgrotor	0	fmod	0	ronly	0	clean	0
avgfpdir 64	avgfilesize 16384
flags	soft-updates
fsmnt	/usr/home
volname	home	swuid	0


Tom

- --
TJU13-ARIN
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLFWq6AAoJEMSwVS7lr0OdzqUIAJk4Qxq7H/Wuhefq5OSyx3UE
uZjCj59mYQm/nabr6qea9oDqXHmeqz8T0mbWxpsNElVEXVPHS5CJE6goUQYpYrGG
/XAhaT3Cq8wHJEXLHv7v7+z22VtUsVnwOfwcZUL0S0otx7xhErnjQseeWc5/i20K
ObkqaNJDhsNs7BISbBC0hKd8Ar+towcvVZlxDrX16vZucC/Vwi/08Af7bG05tgg/
03TDjrUf4w3wP31taeY4mTYaGtYibM1PMIIrXo8mjNY3LvlD290gvqi4OFQxslvU
K2IFHSQJAzsKqkJwn/wAfCTXa4wWlsjDva/I9jjsNCzN9KkypTkZaqpdT3VzLgA=
=saDl
-----END PGP SIGNATURE-----


More information about the freebsd-stable mailing list