xfs
[Top] [All Lists]

Re: xfs_repair on Debian testing 64bits

To: Patrick Noël <patrick.noel@xxxxxxxxxxxxxxx>
Subject: Re: xfs_repair on Debian testing 64bits
From: David Chinner <dgc@xxxxxxx>
Date: Sun, 25 Mar 2007 14:24:18 +1100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1174655443.5441.37.camel@localhost.localdomain>
References: <1174655443.5441.37.camel@localhost.localdomain>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
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


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