lustre-devel-lustre.org archive mirror
 help / color / mirror / Atom feed
* [lustre-devel] Testing 2.14 on Debian + ZFS
@ 2021-02-12 23:07 Christian Kuntz
  2021-02-18 11:09 ` Andreas Dilger
  0 siblings, 1 reply; 9+ messages in thread
From: Christian Kuntz @ 2021-02-12 23:07 UTC (permalink / raw)
  To: lustre-devel


[-- Attachment #1.1: Type: text/plain, Size: 1960 bytes --]

Hello,

I hope I'm communicating in the right place here, I'm currently working to
compile Lustre 2.14.0-RC2 on Debian 10.7 with ZFS 2.0.2 for OSDs. If
there's anything I can do to help with the testing effort or help Lustre's
Debian support be more robust, please let me know! I hope I'm not too late
in the release cycle to contribute.

On the topic of compiling, I'm currently working to get debian packages
made and running into a compilation issue that didn't seem to present on my
previous endeavors with 2.13 and 0.7. I've got the kernel and zfs locally
built and their packages made, and lustre's configure step successfully
completes, but when it comes to compiling it appears that the osd-zfs
portion has some broken include links:

In file included from /zfs-linux-2.0.2/include/sys/arc.h:32,
                 from /lustre-debian/lustre/osd-zfs/osd_internal.h:51,
                 from /lustre-debian/lustre/osd-zfs/osd_handler.c:52:
/zfs-linux-2.0.2/include/sys/zfs_context.h:45:10: fatal error: sys/types.h:
No such file or directory
 #include <sys/types.h>

For reference, my configure and make looks like:
./configure --with-linux=/linux-4.19.171-2/  \

 --with-linux-obj=linux-4.19.171-2/debian/build/build_amd64_none_amd64 \
             --with-zfs=/zfs-linux-2.0.2 \
              --enable-server --enable-modules --disable-ldiskfs
make -j"$(nproc)" debs


From the error and some probing, it looks like zfs_context.h expects some
header files to be in their libc standard `/usr/include/sys` (or somewhere
abouts), but lustre's make process is pulling them from the linux sources
in `SRC/include/linux/`. Predictably, I found this out the hard way by
adding `-I/usr/include` to the Makefile for the zfs osds and getting
battered with errors and warnings about duplicate definitions.

I'm more than happy to provide more detailed information on my setup, and
any and all suggestions/guidance is greatly appreciated!



Best regards,
Christian

[-- Attachment #1.2: Type: text/html, Size: 2179 bytes --]

[-- Attachment #2: Type: text/plain, Size: 165 bytes --]

_______________________________________________
lustre-devel mailing list
lustre-devel@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-08-23  1:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-12 23:07 [lustre-devel] Testing 2.14 on Debian + ZFS Christian Kuntz
2021-02-18 11:09 ` Andreas Dilger
2021-02-19  9:11   ` Christian Kuntz
2021-02-19 14:17     ` Spitz, Cory James
2021-02-19 20:12     ` Andreas Dilger
2021-02-20  3:00       ` Christian Kuntz
2021-02-22 19:58         ` Faaland, Olaf P. via lustre-devel
2021-02-23  3:41           ` Christian Kuntz via lustre-devel
2021-08-23  1:59             ` Christian Kuntz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).