xfs
[Top] [All Lists]

Re: xfs_db: out of memory (2.9.8)

To: Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx>
Subject: Re: xfs_db: out of memory (2.9.8)
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Sat, 25 Oct 2008 07:50:37 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <alpine.DEB.1.10.0810250801360.5019@xxxxxxxxxxxxxxxx>
References: <alpine.DEB.1.10.0810250801360.5019@xxxxxxxxxxxxxxxx>
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)
Justin Piszcz wrote:
> For the root partition I get "out of memory" when I try to check for 
> fragmentation.
> 
> # xfs_db -c frag -f /dev/md2
> xfs_db: out of memory

"-f" means "stored in a file"

> # mount | grep "/dev/md2"
> /dev/md2 on / type xfs (rw,noatime)

It looks like you're cheating your way around:

xfs_db: /dev/md2 contains a mounted filesystem

fatal error -- couldn't initialize XFS library

I'm not sure if that matters in this respect, though.

You could use gdb to find out which allocation is failing.

> # xfs_db -V
> xfs_db version 2.9.8
> 

> Any idea?

Don't worry so much about that fragmentation stat? :)

-Eric

> Justin.
> 
> 

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