<div dir="ltr">Nick, can you comment on the versions of Linux and Lustre which you are u</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 25 Jan 2023 at 08:07, Nick dan via lustre-discuss <<a href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>I have tried to complete the same configuration on centos, but when I am using the make command, I am getting this error</div><div>Making all in .<br>make[4]: Entering directory `/home/user/lustre-release/lustre/utils'<br>gcc -DHAVE_CONFIG_H -I. -I../..  -DHAVE_IOCTL_IN_UNISTD_H -I /home/user/zfs/lib/libspl/include -I /home/user/zfs/lib/libspl/include/os/linux -I /home/user/zfs/include -include /home/user/lustre-release/undef.h -include /home/user/lustre-release/config.h -I/home/user/lustre-release/lnet/include/uapi -I/home/user/lustre-release/lustre/include/uapi -I/home/user/lustre-release/libcfs/include -I/home/user/lustre-release/lnet/utils/ -I/home/user/lustre-release/lustre/include  -fPIC -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DLUSTRE_UTILS=1  -g -O2 -Wall -Werror -MT libmount_utils_zfs_a-libmount_utils_zfs.o -MD -MP -MF .deps/libmount_utils_zfs_a-libmount_utils_zfs.Tpo -c -o libmount_utils_zfs_a-libmount_utils_zfs.o `test -f 'libmount_utils_zfs.c' || echo './'`libmount_utils_zfs.c<br>In file included from /home/user/zfs/include/sys/spa.h:39:0,<br>                 from libmount_utils_zfs.c:32:<br>/home/user/zfs/include/sys/zfs_context.h:698:42: error: expected ‘;’, ‘,’ or ‘)’ before ‘str’<br> extern int kmem_scnprintf(char *restrict str, size_t size,<br>                                          ^<br>libmount_utils_zfs.c: In function ‘zfs_check_hostid’:<br>libmount_utils_zfs.c:397:2: error: too few arguments to function ‘spa_get_hostid’<br>  hostid = spa_get_hostid();<br>  ^<br>In file included from libmount_utils_zfs.c:32:0:<br>/home/user/zfs/include/sys/spa.h:1109:17: note: declared here<br> extern uint32_t spa_get_hostid(spa_t *spa);<br>                 ^<br>make[4]: *** [libmount_utils_zfs_a-libmount_utils_zfs.o] Error 1<br>make[4]: Leaving directory `/home/user/lustre-release/lustre/utils'<br>make[3]: *** [all-recursive] Error 1<br>make[3]: Leaving directory `/home/user/lustre-release/lustre/utils'<br>make[2]: *** [all-recursive] Error 1<br>make[2]: Leaving directory `/home/user/lustre-release/lustre'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/home/user/lustre-release'<br>make: *** [all] Error 2<br></div><div><br></div><div>Can you help with this?</div><div><br></div><div>Regards,</div><div>Nick</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 25 Jan 2023 at 10:12, Nick dan <<a href="mailto:nickdan2999@gmail.com" target="_blank">nickdan2999@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>Thank you for your help. I have found out the keyutils package</div><div>While ./configure, the next error I am facing is</div><div><br></div><div>checking libmount/libmount.h usability... no<br>checking libmount/libmount.h presence... no<br>checking for libmount/libmount.h... no<br>checking whether to build with libmount... no<br>configure: error: libmount development package is required<br></div><div><br></div><div>I can not find the lib mount devel package in RedHat 8.6. Can you help with this?</div><div><br></div><div>Regards,</div><div>Nick</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 24 Jan 2023 at 20:55, Laura Hild <<a href="mailto:lsh@jlab.org" target="_blank">lsh@jlab.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi, Nick-<br>
<br>
keyutils-libs is not the devel package.  I think it is likely if you run<br>
<br>
  dnf search keyutils<br>
<br>
that you will find the package you need to install.<br>
<br>
-Laura<br>
<br>
<br>
________________________________________<br>
Od: lustre-discuss <<a href="mailto:lustre-discuss-bounces@lists.lustre.org" target="_blank">lustre-discuss-bounces@lists.lustre.org</a>> v imenu Nick dan via lustre-discuss <<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a>><br>
Poslano: torek, 24. januar 2023 05:38<br>
Za: Degremont, Aurelien<br>
Kp: <a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a><br>
Zadeva: [EXTERNAL] Re: [lustre-discuss] Lustre with ZFS Install<br>
<br>
Hi<br>
<br>
I have already installed keyutils<br>
[root@sv01 lustre-release]# yum install keyutils-libs<br>
Updating Subscription Management repositories.<br>
Last metadata expiration check: 0:42:13 ago on Tue 24 Jan 2023 03:23:37 PM IST.<br>
Package keyutils-libs-1.5.10-9.el8.x86_64 is already installed.<br>
Dependencies resolved.<br>
Nothing to do.<br>
Complete!<br>
<br>
Tried to install with the command suggested by you<br>
Error: Unable to find a match: libkeyutils-devel<br>
FYI<br>
OS: Red Hat Enterprise Linux 8.6 (Ootpa)<br>
<br>
Regards,<br>
Nick<br>
<br>
<br>
On Tue, 24 Jan 2023 at 15:44, Degremont, Aurelien <<a href="mailto:degremoa@amazon.fr" target="_blank">degremoa@amazon.fr</a>> wrote:<br>
> configure: WARNING: GSS keyring backend requires libkeyutils<br>
<br>
The configure command clearly says that libkeyutils should be installed.<br>
Did you try to install it?<br>
<br>
Under Rhel, this is probably: dnf install libkeyutils-devel<br>
<br>
<br>
Aurélien<br>
<br>
[...]</blockquote></div>
</blockquote></div>
_______________________________________________<br>
lustre-discuss mailing list<br>
<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" rel="noreferrer" target="_blank">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
</blockquote></div>