Re: Map a disk LBA to filename?

Carsten Aulbert
2008-10-28T07:11:58Z

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.

Cheers

Carsten