[lustre-discuss] Lustre with ZFS Install

John Hearns hearnsj at gmail.com
Wed Jan 25 00:38:20 PST 2023


Nick, can you comment on the versions of Linux and Lustre which you are u

On Wed, 25 Jan 2023 at 08:07, Nick dan via lustre-discuss <
lustre-discuss at lists.lustre.org> wrote:

> Hi
>
> I have tried to complete the same configuration on centos, but when I am
> using the make command, I am getting this error
> Making all in .
> make[4]: Entering directory `/home/user/lustre-release/lustre/utils'
> 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
> In file included from /home/user/zfs/include/sys/spa.h:39:0,
>                  from libmount_utils_zfs.c:32:
> /home/user/zfs/include/sys/zfs_context.h:698:42: error: expected ‘;’, ‘,’
> or ‘)’ before ‘str’
>  extern int kmem_scnprintf(char *restrict str, size_t size,
>                                           ^
> libmount_utils_zfs.c: In function ‘zfs_check_hostid’:
> libmount_utils_zfs.c:397:2: error: too few arguments to function
> ‘spa_get_hostid’
>   hostid = spa_get_hostid();
>   ^
> In file included from libmount_utils_zfs.c:32:0:
> /home/user/zfs/include/sys/spa.h:1109:17: note: declared here
>  extern uint32_t spa_get_hostid(spa_t *spa);
>                  ^
> make[4]: *** [libmount_utils_zfs_a-libmount_utils_zfs.o] Error 1
> make[4]: Leaving directory `/home/user/lustre-release/lustre/utils'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/user/lustre-release/lustre/utils'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/user/lustre-release/lustre'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/user/lustre-release'
> make: *** [all] Error 2
>
> Can you help with this?
>
> Regards,
> Nick
>
>
> On Wed, 25 Jan 2023 at 10:12, Nick dan <nickdan2999 at gmail.com> wrote:
>
>> Hi
>>
>> Thank you for your help. I have found out the keyutils package
>> While ./configure, the next error I am facing is
>>
>> checking libmount/libmount.h usability... no
>> checking libmount/libmount.h presence... no
>> checking for libmount/libmount.h... no
>> checking whether to build with libmount... no
>> configure: error: libmount development package is required
>>
>> I can not find the lib mount devel package in RedHat 8.6. Can you help
>> with this?
>>
>> Regards,
>> Nick
>>
>> On Tue, 24 Jan 2023 at 20:55, Laura Hild <lsh at jlab.org> wrote:
>>
>>> Hi, Nick-
>>>
>>> keyutils-libs is not the devel package.  I think it is likely if you run
>>>
>>>   dnf search keyutils
>>>
>>> that you will find the package you need to install.
>>>
>>> -Laura
>>>
>>>
>>> ________________________________________
>>> Od: lustre-discuss <lustre-discuss-bounces at lists.lustre.org> v imenu
>>> Nick dan via lustre-discuss <lustre-discuss at lists.lustre.org>
>>> Poslano: torek, 24. januar 2023 05:38
>>> Za: Degremont, Aurelien
>>> Kp: lustre-discuss at lists.lustre.org
>>> Zadeva: [EXTERNAL] Re: [lustre-discuss] Lustre with ZFS Install
>>>
>>> Hi
>>>
>>> I have already installed keyutils
>>> [root at sv01 lustre-release]# yum install keyutils-libs
>>> Updating Subscription Management repositories.
>>> Last metadata expiration check: 0:42:13 ago on Tue 24 Jan 2023 03:23:37
>>> PM IST.
>>> Package keyutils-libs-1.5.10-9.el8.x86_64 is already installed.
>>> Dependencies resolved.
>>> Nothing to do.
>>> Complete!
>>>
>>> Tried to install with the command suggested by you
>>> Error: Unable to find a match: libkeyutils-devel
>>> FYI
>>> OS: Red Hat Enterprise Linux 8.6 (Ootpa)
>>>
>>> Regards,
>>> Nick
>>>
>>>
>>> On Tue, 24 Jan 2023 at 15:44, Degremont, Aurelien <degremoa at amazon.fr>
>>> wrote:
>>> > configure: WARNING: GSS keyring backend requires libkeyutils
>>>
>>> The configure command clearly says that libkeyutils should be installed.
>>> Did you try to install it?
>>>
>>> Under Rhel, this is probably: dnf install libkeyutils-devel
>>>
>>>
>>> Aurélien
>>>
>>> [...]
>>
>> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20230125/1b446c9f/attachment.htm>


More information about the lustre-discuss mailing list