[lustre-discuss] FIEMAP support for Lustre

Dilger, Andreas andreas.dilger at intel.com
Mon Aug 24 17:30:58 PDT 2015

On 2015/08/24, 1:22 PM, "lustre-discuss on behalf of Alexander I
Kulyavtsev" <lustre-discuss-bounces at lists.lustre.org on behalf of
aik at fnal.gov> wrote:

>Hi Oleg,
>does ZFS based lustre supports FIEMAP?
>We have lustre 2.5 with zfs installed. Otherwise we will need to setup
>separate test system with ldiskfs.

The ZFS back-end code does not itself support FIEMAP, unlike ldiskfs.
There is an open ticket for this if someone is interested to implement
FIEMAP support for ZFS:


but until that is done, the client-side FIEMAP can only get information
from ldiskfs.

Cheers, Andreas

>On Aug 24, 2015, at 11:06 AM, Drokin, Oleg <oleg.drokin at intel.com> wrote:
>> Hello!
>> On Aug 24, 2015, at 11:57 AM, Wenji Wu wrote:
>>> Hello, everybody,
>>> I understand that ext2/3/4 support FIEMAP to get file extent mapping.
>>> Does Lustre supports similar feature like FIEMAP? Can Lustre client
>>>gets FIEMAP-like information on a Luster file system?
>> Yes, Lustre does support fiemap.
>> You can see patched ext4progs and the filefrag included there works on
>>top of Lustre too, as an example.
>> lustre/tests/checkfiemap.c in the lustre source tree is another example
>>user of this functionality that you can consult.
>> Bye,
>>    Oleg
>> _______________________________________________
>> lustre-discuss mailing list
>> lustre-discuss at lists.lustre.org
>> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
>lustre-discuss mailing list
>lustre-discuss at lists.lustre.org

Cheers, Andreas
Andreas Dilger

Lustre Software Architect
Intel High Performance Data Division

More information about the lustre-discuss mailing list