[LU-3407] Lustre lquota module built and installed with --disable-server Created: 27/May/13  Updated: 30/May/13  Resolved: 30/May/13

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.4.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Andreas Dilger Assignee: Niu Yawei (Inactive)
Resolution: Cannot Reproduce Votes: 0
Labels: None
Environment:

FC12 client node with 2.6.32.26-175.fc12.x86_6 (patchless) kernel


Issue Links:
Related
is related to LU-3232 fsfilt_ldiskfs.ko should be in osd-ld... Resolved
Severity: 3
Rank (Obsolete): 8424

 Description   

I built Lustre 2.4.0-RC2 client RPMs with:

./configure --disable-server
make rpms

Unfortunately, it isn't possible to automatically build client-only RPMs without --disable-server because the build system incorrectly enables the ldiskfs support in mkfs_lustre.c, but then doesn't build the mount_utils_ldiskfs.c code that it depends on. That is a topic for a separate bug.

I was installing the resulting lustre-client RPMs on another system with the identical FC12 kernel and got the following warning:

   1:lustre-client-modules  ########################################### [ 33%]
WARNING: /lib/modules/2.6.32.26-175.fc12.x86_64/updates/kernel/fs/lustre/lquota.ko needs unknown symbol RQF_MDS_QUOTA_DQACQ
WARNING: /lib/modules/2.6.32.26-175.fc12.x86_64/updates/kernel/fs/lustre/lquota.ko needs unknown symbol quota_get_qdata
WARNING: /lib/modules/2.6.32.26-175.fc12.x86_64/updates/kernel/fs/lustre/lquota.ko needs unknown symbol quota_copy_qdata
WARNING: /lib/modules/2.6.32.26-175.fc12.x86_64/updates/kernel/fs/lustre/lquota.ko needs unknown symbol RQF_OST_QUOTA_ADJUST_QUNIT
WARNING: /lib/modules/2.6.32.26-175.fc12.x86_64/updates/kernel/fs/lustre/lquota.ko needs unknown symbol RMF_QUOTA_ADJUST_QUNIT

The lquota.ko module should probably not be built or installed for a client-only RPM?



 Comments   
Comment by Niu Yawei (Inactive) [ 29/May/13 ]

Andreas, those symbols are from old quota code, they've been removed since 2.4. I tried to build rpms with --disable-server, and didn't see lquota.ko in the lustre-client-modules:

[root@rhel6 lustre-master]# rpm -qpl /root/rpmbuild/RPMS/x86_64/lustre-client-modules-2.4.50-2.6.32_g426194d.x86_64.rpm
/lib/modules/2.6.32/updates/kernel
/lib/modules/2.6.32/updates/kernel/fs
/lib/modules/2.6.32/updates/kernel/fs/lustre
/lib/modules/2.6.32/updates/kernel/fs/lustre/fid.ko
/lib/modules/2.6.32/updates/kernel/fs/lustre/fld.ko
/lib/modules/2.6.32/updates/kernel/fs/lustre/llite_lloop.ko
/lib/modules/2.6.32/updates/kernel/fs/lustre/lmv.ko
/lib/modules/2.6.32/updates/kernel/fs/lustre/lov.ko
/lib/modules/2.6.32/updates/kernel/fs/lustre/lustre.ko
/lib/modules/2.6.32/updates/kernel/fs/lustre/lvfs.ko
/lib/modules/2.6.32/updates/kernel/fs/lustre/mdc.ko
/lib/modules/2.6.32/updates/kernel/fs/lustre/mgc.ko
/lib/modules/2.6.32/updates/kernel/fs/lustre/obdclass.ko
/lib/modules/2.6.32/updates/kernel/fs/lustre/obdecho.ko
/lib/modules/2.6.32/updates/kernel/fs/lustre/osc.ko
/lib/modules/2.6.32/updates/kernel/fs/lustre/ptlrpc.ko
/lib/modules/2.6.32/updates/kernel/net
/lib/modules/2.6.32/updates/kernel/net/lustre
/lib/modules/2.6.32/updates/kernel/net/lustre/ko2iblnd.ko
/lib/modules/2.6.32/updates/kernel/net/lustre/ksocklnd.ko
/lib/modules/2.6.32/updates/kernel/net/lustre/libcfs.ko
/lib/modules/2.6.32/updates/kernel/net/lustre/lnet.ko
/lib/modules/2.6.32/updates/kernel/net/lustre/lnet_selftest.ko
/usr/share/doc/lustre-client-modules-2.4.50
/usr/share/doc/lustre-client-modules-2.4.50/COPYING
/usr/share/doc/lustre-client-modules-2.4.50/ChangeLog-lnet
/usr/share/doc/lustre-client-modules-2.4.50/ChangeLog-lustre

Maybe there is something wrong with your testing system?

Comment by Andreas Dilger [ 30/May/13 ]

Sorry, I guess it is possible that these messages were printed during upgrade when removing the old kernel modules (2.1.3) instead of when the new kernel modules (2.4.0-RC2) were installed.

Generated at Sat Feb 10 01:33:39 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.