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
> 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
> 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.
R&D Software Enginner
SGI Australian Software Group