fsck_ufs: cannot alloc 94208 bytes for inoinfo

Oliver Fromme olli at lurza.secnetix.de
Wed Feb 27 18:58:24 UTC 2008


Olivier Mueller wrote:
 > "fsck_ufs: cannot alloc 94208 bytes for inoinfo"
 > 
 > This is what I get after about one hour while trying a fsck on a large
 > (1.4TB) partition "broken" since a power outage.  
 > 
 > HW: HP DL380G5, under freebsd 6.1/i386, with 1GB of RAM and: 

Your fsck will need roughly 1 GB memory per 1 TB file
system size.  That formular was posted some time ago on
the -fs mailing list.  It only applies with the default
newfs parameters -- if you used other parameters (inode
density, bsize/fsize), fsck's memory requirements are
different.

 > Now I added this to the /boot/loader.conf:
 > kern.maxdsiz="1073741824" # 1GB
 > kern.dfldsiz="1073741824" # 1GB
 > and I'm trying the fsck again, but I'm not sure it will help.

Given the above formula, it's probably not enough, so you
might have to increase it further.  Also make sure that
you have enough swap space.

If you have a spare box, it might be helpful to transplant
some RAM from it so fsck doesn't have to swap.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"If you think C++ is not overly complicated, just what is a protected
abstract virtual base pure virtual private destructor, and when was the
last time you needed one?"
        -- Tom Cargil, C++ Journal


More information about the freebsd-stable mailing list