Date: Thu, 09 Jun 2005 08:16:19 +0200 From: "Frantisek Rysanek" <Frantisek.Rysanek@post.cz> To: freebsd-questions@freebsd.org Cc: xfb52@dial.pipex.com Subject: Summary: 12TB GEOM stripe, newfs, then fsck: cannot alloc 768053748 bytes for blockmap Message-ID: <42A7FAD3.5051.98EB5B15@localhost> In-Reply-To: <42A70833.806@dial.pipex.com> References: <42A717EB.8095.9574FF2F@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42A7FAD3.5051.98EB5B15>