From owner-freebsd-questions@FreeBSD.ORG Sun Aug 19 13:12:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DBBF16A41A for ; Sun, 19 Aug 2007 13:12:03 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 5DB3513C45D for ; Sun, 19 Aug 2007 13:12:02 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8) with ESMTP id l7JDBvxD015197; Sun, 19 Aug 2007 15:11:57 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8/Submit) with ESMTP id l7JDBujN015194; Sun, 19 Aug 2007 15:11:56 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 19 Aug 2007 15:11:56 +0200 (CEST) From: Wojciech Puchar To: Andreas Kuehl In-Reply-To: <467070B9.6050600@web.de> Message-ID: <20070819150931.B15146@wojtek.tensor.gdynia.pl> References: <467070B9.6050600@web.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: fsck of large volume with small memory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Aug 2007 13:12:03 -0000 > 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.