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

Jacob Schwartz Jacob.Schwartz at mobileye.com
Mon Mar 11 03:08:52 PDT 2024


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20240311/63b0478f/attachment.htm>


More information about the lustre-discuss mailing list