Summary: 12TB GEOM stripe, newfs, then fsck: cannot alloc 768053748 bytes for blockmap

Frantisek Rysanek Frantisek.Rysanek at post.cz
Thu Jun 9 06:10:49 GMT 2005


Thanks a lot to Mr. Zbyslaw.
Being too lazy myself to fiddle with the soft limit via the 
shell or bootloader, I did the following in the kernel build 
config file:

options         MAXDSIZ=(1024UL*1024*1024)
options         DFLDSIZ=(1024UL*1024*1024)

This way, fsck works just fine.

To address other people's suggestions:
I haven't tried to force the fsck under the old limit.

A local friend has suggested to increase the block size to 
newfs, or something along those lines - essentially to
decrease the FS overhead and the size of the "blockmap".
I haven't tried that but I guess it sounds reasonable
- may make sense on machines where you just can't get
enough RAM or are not willing to grant it all to a single
process.

Thanks to everyone who replied :-)

Frank Rysanek


On 8 Jun 2005 at 16:01, Alex Zbyslaw wrote:
> >cannot alloc 768053748 bytes for blockmap
> >
> Do you have MAXDSIZ set in your kernel?  And what about any limits?
> 
> e.g. I have options         MAXDSIZ=(1024UL*1024*1024)
> and "limit memoryuse unlimited"



More information about the freebsd-questions mailing list