fsck: cannot increase directory list and Out of Memory .

Eric Anderson anderson at centtech.com
Wed Feb 8 04:11:37 PST 2006


Ricardo A. Reis wrote:
> Hi,
>
>
> I have  severals problems with one server ibm x346, i use FreeBSD 
> 6-STABLE,
>
> After a electric panic, this  system refused to pass fsck  with a 
> message "fsck: cannot increase directory list" ,
> the ibm bios not notified per  "memory errors", i rebooting and boot 
> with fresbie and pass fsck and this work.
> In the same machine i have a geom concat volume with +/- 90 GB, i 
> don't have success to pass fsck
> on console "cannot alloc 6404196 bytes for bockmap ".
> Before fail geom mount i comment this partition on fstab,  i resolved 
> reboot for normal boot
> but any  commands and login resulted in "out of memory"


You need to increase the maxdsiz setting to something bigger - the 
default I believe is 512MB, so if you have say, 1GB of memory, you may 
try setting it to 800MB. 

You set it in /boot/loader.conf by adding a line like this:

kern.maxdsiz="768000000"

Eric


-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------



More information about the freebsd-fs mailing list