[Top] [All Lists]

Re: XFS repair problem

To: djani22@xxxxxxxxxxxxx
Subject: Re: XFS repair problem
From: David Chinner <dgc@xxxxxxx>
Date: Tue, 9 Aug 2005 12:08:23 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <005301c59c7d$2eedab20$0400a8c0@LocalHost>; from djani22@xxxxxxxxxxxxx on Tue, Aug 09, 2005 at 02:56:28AM +0200
References: <001001c59bfb$1fe7aae0$0400a8c0@LocalHost> <42F74B6D.8060002@xxxxxxx> <00d801c59c20$e0354080$0400a8c0@LocalHost> <42F798AF.5080505@xxxxxxx> <20050809074858.B25981667@xxxxxxxxxxxxxxxxx> <005301c59c7d$2eedab20$0400a8c0@LocalHost>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/
On Tue, Aug 09, 2005 at 02:56:28AM +0200, djani22@xxxxxxxxxxxxx wrote:
> More info:
> I try xfs_check and xfs_ncheck (and more progs) with +200GB swap, but no
> different!
> less than 1 second and get : out of memory.

Swap won't help if you're running an ia32 (32bit) kernel - you have
a per-process memory limit of 1-4GiB (depending on kernel and
config).  The amount of physical memory and swap does not change
this limitation.

> It really looks like BUG!

Expected behaviour. It's documented in the xfs_check(8) man page.

> 2 months before when I try xfs_check with "only" 2TB, and only 2GB ram
> system, it works!

Memory consumption of the various xfs userspace tools is related to
the size of the filesystem and the number of inodes in it. The
larger the filesystem and the larger the number of inodes it has
in it, the more memory is required to repair it.

Your filesystem (8TiB) may simply bee too large for your system to
be able to repair. Try mounting it on a 64bit system with more RAM
in it and repairing it from there.


Dave Chinner
R&D Software Enginner
SGI Australian Software Group

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