Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2008 17:02:49 -0800
From:      Alfred Perlstein <alfred@freebsd.org>
To:        Olivier Mueller <om-lists-bsd@omx.ch>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: fsck_ufs: cannot alloc 94208 bytes for inoinfo
Message-ID:  <20080227010249.GZ99258@elvis.mu.org>
In-Reply-To: <1204063509.6299.9.camel@bigapple.omnis.ch>
References:  <1204063509.6299.9.camel@bigapple.omnis.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
* Olivier Mueller <om-lists-bsd@omx.ch> [080226 14:32] wrote:
> Hello,
> 
> "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: 
> 
> da0: <COMPAQ RAID 5  VOLUME OK> Fixed Direct Access SCSI-4 device 
> da0: 135.168MB/s transfers
> da0: 1430488MB (2929640988 512 byte sectors: 255H 63S/T 65535C)
> 
> Mounting with option -f (force) seems to work, so I guess there is
> still hope :)
> 
> 
> 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.
> 
> Would you maybe have other suggestions? 

See "limit/ulimit" to make sure you're giving the fsck process
unlimited data size.

you can also likely safely increase the maxdsiz to 1.5GB and
still be ok, just make sure to turn on swapping.

-Alfred



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080227010249.GZ99258>