xfs
[Top] [All Lists]

Re: xfs_repair: buf calloc failed (4132 bytes): Cannot allocate memory

To: xfs@xxxxxxxxxxx
Subject: Re: xfs_repair: buf calloc failed (4132 bytes): Cannot allocate memory
From: linux-xfs@xxxxxxxxxxxxxxxxxx
Date: Fri, 18 May 2007 14:18:04 +0000 (UTC)
Organization: Epigenomics AG
References: <slrnf4j7ge.aje.robert.sander@xxxxxxxxxxxxxxxxxxxxx> <op.tsehgekef8dyj1@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: slrn/0.9.8.1pl1 (Debian)
On Wed, 16 May 2007 13:32:28 +1000,
 "Barry Naujok" <bnaujok@xxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>