Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-3407

Lustre lquota module built and installed with --disable-server

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Minor
    • None
    • Lustre 2.4.0
    • None
    • FC12 client node with 2.6.32.26-175.fc12.x86_6 (patchless) kernel
    • 3
    • 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?

      Attachments

        Issue Links

          Activity

            [LU-3407] Lustre lquota module built and installed with --disable-server

            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.

            adilger Andreas Dilger added a comment - 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.

            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?

            niu Niu Yawei (Inactive) added a comment - 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?

            People

              niu Niu Yawei (Inactive)
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: