[Top] [All Lists]

Re: xfs_bmap Cannot allocate memory

To: Michael Weissenbacher <mw@xxxxxxxxxxxx>
Subject: Re: xfs_bmap Cannot allocate memory
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue, 5 Jul 2011 06:49:59 -0400
Cc: xfs@xxxxxxxxxxx
In-reply-to: <4E129B00.4020709@xxxxxxxxxxxx>
References: <4E129B00.4020709@xxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Tue, Jul 05, 2011 at 07:02:56AM +0200, Michael Weissenbacher wrote:
> Hi List!
> I've got a file here on which i cannot use xfs_bmap to determine it's
> fragments. All that i know is that it must have a really great number of
> them. It was the result of running a smbd without strict allocate. The
> machine itself has 8GiB of RAM and 10GiB of swap available, so that
> shouldn't be the problem. I guess this is some bug in xfs_bmap. Or is it
> a known limitation?
> # xfs_bmap /backup/tmp/cannot_allocate_memory.vhd
> xfs_bmap: xfsctl(XFS_IOC_GETBMAPX) iflags=0x0
> ["/backup/tmp/cannot_allocate_memory.vhd"]: Cannot allocate memory

What version of xfsprogs do you use?  xfsprogs 3.0.1 fixes a problem
in the bmap command that looked pretty similar to what you see.

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