On Fri, Mar 23, 2007 at 02:10:42PM +0100, Patrick Noël wrote:
>
> Hi,
>
> i have a device with 5,3To under a debian (sarge) 32bits server.
>
> When i try a xfs_repair (2.8.20) on 5,3To i have a message :
>
> xfs_repair: libxfs_initbuf can't memalign 4096 bytes: Cannot allocate
> memory [ ... ]
Out of memory. Not surprising - 5.6To of filesystem could take between
10-20GB of RAM to repair successfully. Can't do that on a 32bit machine.
> i tried mounting the device on a 64 bits (Debian testing) and with
> xfs_repair 2.8.20 there is no problem with memory but is very long (12
> hours between phase 1 and phase 6)
Repair duration is determined by the number of inodes in the filesystem.
Given the runtime you are reporting, I'd say you've got millions (perhaps
even tens of milllions) of inodes in the filesystem. Is that correct?
Cheers,
Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
|