Received: with ECARTIS (v1.0.0; list xfs); Fri, 18 May 2007 07:18:11 -0700 (PDT) Received: from gk.uu.epigenomics.net (gk.uu.epigenomics.net [195.127.125.226]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id l4IEI6fB013278 for ; Fri, 18 May 2007 07:18:08 -0700 Received: (qmail 9438 invoked from network); 18 May 2007 14:18:04 -0000 Received: from perl.epigenomics.epi (192.168.48.4) by salam.epigenomics.epi with SMTP; 18 May 2007 14:18:04 -0000 Received: (qmail 3375 invoked by uid 9); 18 May 2007 14:18:04 -0000 From: linux-xfs@ml.epigenomics.com X-Newsgroups: epi.ml.linux.xfs Subject: Re: xfs_repair: buf calloc failed (4132 bytes): Cannot allocate memory Date: Fri, 18 May 2007 14:18:04 +0000 (UTC) Organization: Epigenomics AG Lines: 19 Message-ID: References: X-Complaints-To: usenet@epigenomics.net User-Agent: slrn/0.9.8.1pl1 (Debian) To: xfs@oss.sgi.com X-archive-position: 11473 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: linux-xfs@ml.epigenomics.com Precedence: bulk X-list: xfs On Wed, 16 May 2007 13:32:28 +1000, "Barry Naujok" wrote: > > With 18 million inodes, 1.2TB of space, it will use a lot of memory. > Assuming you are using a recent xfsprogs (2.8.11 or later), you can > reduce memory usage by adding "-o bhash=512" which will limit the > number of buffers cached in xfs_repair. In this scenario, the cache > will overflow RAM rather easily with the number of inodes to be > scanned. Thank you. That did it. xfs_repair was able to complete without memory error. Greetings -- Robert Sander Senior Manager Information Systems Epigenomics AG Kleine Praesidentenstr. 1 10178 Berlin, Germany phone:+49-30-24345-0 fax:+49-30-24345-555 http://www.epigenomics.com robert.sander@epigenomics.com