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

Tony Shadwick tshadwick at goinet.com
Wed Jun 8 15:45:40 GMT 2005

On Wed, 8 Jun 2005, Alex Zbyslaw wrote:

> Frantisek Rysanek wrote:
>> I thought "fsck" would be a plausible benchmarking tool. 
>> -bash-2.05b# fsck_ufs /dev/stripe/data
>> ** /dev/stripe/data
>> cannot alloc 768053748 bytes for blockmap
>> After a forced mount, the 12TB volume works fine. It just can't be fsck'ed. 
> 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"
> which is all my 1Gb  physical memory.  The default is a mere 512Mb.  You 
> might need users to be limited to a bit less, but I don't have any of them 
> :-)
> --Alex

Whoa.....wait a sec there.

Did I just understand you right, or did you just say that the default 
amount of RAM that FreeBSD allows in the kernel is 512MB without throwing 
that switch at compile time????

Aw crap.  If you're right, you just explained one of the grander mysteries 
I'm experiencing with one of my boxes that keeps experiencing symptoms of 
running out of RAM....

More information about the freebsd-questions mailing list