[lustre-discuss] mkfs.lustre Undefined symbol: zfs_enable_quota

damir chanyshev me at dchanyshev.ru
Mon Mar 11 04:00:29 PDT 2024


Hello!

Looks like you are using a dev build, long story short these builds only 
for testing purposes.

Regarding issue, check this ticket 
https://jira.whamcloud.com/browse/LU-17611 and patch

https://review.whamcloud.com/c/fs/lustre-release/+/54293/


11/03/2024 13:08, Jacob Schwartz via lustre-discuss пишет:
> Hi,
> My name is Jacob and I work with Mobileye.
> After successfully compiling lustre 2.15.61 with openzfs 2.1.15, I 
> encountered the following problem while running mkfs.lustre:
> mkfs.lustre FATAL: /usr/lib64/lustre/mount_osd_zfs.so: undefined 
> symbol: zfs_enable_quota
> I checked the zfs symbols in the library 
> /usr/lib64/lustre/mount_osd_zfs.so and I could not find the symbol 
> zfs_enable_quota
> nm -D /usr/lib64/lustre/mount_osd_zfs.so|grep zfs
>               U zfs_destroy
> 00000000000020b0 T zfs_fini
>                U zfs_get_pool_handle
>                U zfs_get_user_props
>                U zfs_name_valid
>                U zfs_open
> 00000000002051c0 D zfs_ops
>                U zfs_prop_inherit
>                U zfs_prop_set
>                U zpool_close
>                U zpool_get_prop_int
>                U zpool_open
>                U zpool_set_propcd
>
> The OS I am working with is AlmaLinux8.9 (kernel version 
> 4.18.0-513.5.1.el8_9.x86_64).
>
> OpenZFS 2.1.15 was compiles as follow:
> cd zfs-2.1.15
>  sh autogen.sh
>  ./configure --with-spec=redhat
>  make -j1 rpm-utils rpm-kmod
>
> Lustre 2.15.61 was compiled as follow:
> sh ./autogen.sh
> ./configure --enable-server --enable-modules --disable-ldiskfs 
> --disable-gss-keyring --with-mds-max-threads=2048 --enable-quota 
> --with-zfs=/usr/src/zfs-2.1.15 --with-o2ib=yes
> make rpms
>
> Can someone please assist.
> Thanks,
> Jacob.
>
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

-- 
Thanks,
Damir.



More information about the lustre-discuss mailing list