public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: David Chinner <dgc@sgi.com>
To: "Patrick Noël" <patrick.noel@argus-presse.fr>
Cc: xfs@oss.sgi.com
Subject: Re: xfs_repair on Debian testing 64bits
Date: Sun, 25 Mar 2007 14:24:18 +1100	[thread overview]
Message-ID: <20070325032418.GH32602149@melbourne.sgi.com> (raw)
In-Reply-To: <1174655443.5441.37.camel@localhost.localdomain>

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

  parent reply	other threads:[~2007-03-25  3:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-23 13:10 xfs_repair on Debian testing 64bits Patrick Noël
2007-03-23 16:25 ` Christian Guggenberger
2007-03-23 21:10   ` Patrick Noel
2007-03-25  3:24 ` David Chinner [this message]
2007-03-25 12:10 ` Peter Grandi
2007-03-26 10:14   ` Patrick Noël

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070325032418.GH32602149@melbourne.sgi.com \
    --to=dgc@sgi.com \
    --cc=patrick.noel@argus-presse.fr \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox