Date: Sun, 19 Aug 2007 15:11:56 +0200 (CEST) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: Andreas Kuehl <xinopher@web.de> Cc: freebsd-questions@freebsd.org Subject: Re: fsck of large volume with small memory Message-ID: <20070819150931.B15146@wojtek.tensor.gdynia.pl> In-Reply-To: <467070B9.6050600@web.de> References: <467070B9.6050600@web.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hi all > > Is there any possibillity to fsck a 1.2 TB 40% filled volume with a > machine that has not that much memory, in this case only 1.5 GB. > > The fsck gives me a friendly > > # fsck /dev/da1 > ** /dev/da1 > ** Last Mounted on /fileserver > ** Phase 1 - Check Blocks and Sizes > fsck_ufs: cannot alloc 4290901164 bytes for inoinfo > > and quits. quite a lot of memory. on i386 you simply can't allocate >4GB VM. but i have larger volumes without problems. what was your newfs options when creating it. of course you did man fsck_ffs ? :) default options are NOT good, overallocates inodes, and possibly needs that amount of ram because of this. if your machine is 64-bit capable use amd64 not i386 version - no 4GB limit.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070819150931.B15146>