What a I missing here?  I download the e2fsprogs source from git.whamcloud.com,
./configure
make clean all


The resulting filefrag gets Operation not supported errno.  I do an strace on using both /usr/bin/filefrag and my filefrag.  The strace output is
virturally identical up to the point of the FIEMAP ioctl call.  The only differences appear to be memory addresses.
Even if I copy /usr/sbin/filefrag  to my ~/bin/filefrag ( to elminate executable ownership concerns ) I get the same result.

Attached are the 2 strace files and a diff of the 2 files.
binfilefrag.strace output from using /usr/sbin/filefrag that I copied to my ~/bin/filefrag
myff.strace output from using the filefrag that I built from the downloaded source.
ff.diff output from the diff the above 2.

This was all done on the "swan" nodes at Cray.

John


On 3/8/2014 11:59 AM, Dilger, Andreas wrote:
The filefrag command is part of the Lustre patched e2fsprogs. You can get the source from git.whamcloud.com in the tools/e2fsprogs repo. 

Cheers, Andreas

On Mar 6, 2014, at 10:09, "John Bauer" <bauerj@iodoctors.com> wrote:


Is it possible to get the source for filefrag as used on Lustre?  I have a simple program that does the FIEMAP ioctl requests and it
crashes the client systems.  I would like to figure out how filefrag does the fiemap calls without crashing systems.  I have done strace on
both my program and filefrag, and they both use the same command argument to ioctl.  I am kind of stuck until LU-4619 gets address.

https://jira.hpdd.intel.com/browse/LU-4619

Thanks for any help.

John

-- 
John Bauer
I/O Doctors LLC
507-766-0378
bauerj@iodoctors.com

_______________________________________________
HPDD-discuss mailing list
HPDD-discuss@lists.01.org
https://lists.01.org/mailman/listinfo/hpdd-discuss

-- 
John Bauer
I/O Doctors LLC
507-766-0378
bauerj@iodoctors.com