Re: Map a disk LBA to filename?

Dave Chinner
2008-10-28T07:21:21Z

On Tue, Oct 28, 2008 at 08:11:46AM +0100, Carsten Aulbert wrote:
> Hi Dave et al
>
> Dave Chinner wrote:
>
> > Blockget - yes it will. It just does the traversal internally to
> > build the mapping. With large filesystems xfs_db can run out of
> > memory building the mapping, which is why I've used the
> > explicit traverse+xfs_bmap method in the past....
>
> How expensive is this operation (rule of thumb)? We will mostly use this
> on compute nodes where the partition is 500-750 GB large and the node
> has 8 GB of memory. For the simple test where I apparently hit thin air
> I have not seen anything bad in terms of memory consumption.

Shouldn't be a problem with a filesystem that size. It's when you're
dealing with tens of terabytes in a single filesystem that it can
be a problem...

Cheers,

Dave.
--
Dave Chinner
david@fromorbit.com