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

utils: mkfs.lustre compiled from the git repositery references a missing lib

Details

    • 3
    • 9223372036854775807

    Description

      Trying to run llmount.sh without first running 'make install' fails with EINVAL at the formatting step. The faulty code is:

      struct module_backfs_ops *load_backfs_module(enum ldd_mount_type mount_type)
      {
          (...)
          /* Check for $LUSTRE environment variable from test-framework.
           * This allows using locally built modules to be used.
           */
          if (handle == NULL) {
              char *dirname;
              dirname = getenv("LUSTRE");
              if (dirname) {
      	    snprintf(filename, sizeof(filename),
      >>>>                 "%s/utils/.libs/mount_%s.so",
                           dirname, fsname);
          	    handle = dlopen(filename, RTLD_LAZY);
              }
          }
          (...)
      }
      

      Attachments

        Activity

          [LU-10346] utils: mkfs.lustre compiled from the git repositery references a missing lib

          John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/30584/
          Subject: LU-10346 utils: use the correct lib path in mount_utils.c
          Project: fs/lustre-release
          Branch: b2_10
          Current Patch Set:
          Commit: 06abe632bf77a06326b889acec888f0a64f20e7b

          gerrit Gerrit Updater added a comment - John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/30584/ Subject: LU-10346 utils: use the correct lib path in mount_utils.c Project: fs/lustre-release Branch: b2_10 Current Patch Set: Commit: 06abe632bf77a06326b889acec888f0a64f20e7b

          Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/30584
          Subject: LU-10346 utils: use the correct lib path in mount_utils.c
          Project: fs/lustre-release
          Branch: b2_10
          Current Patch Set: 1
          Commit: 5dd7baf38bc37f60251d2a83e50e434750732d18

          gerrit Gerrit Updater added a comment - Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/30584 Subject: LU-10346 utils: use the correct lib path in mount_utils.c Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 5dd7baf38bc37f60251d2a83e50e434750732d18
          mdiep Minh Diep added a comment -

          Landed for 2.11

          mdiep Minh Diep added a comment - Landed for 2.11

          Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30431/
          Subject: LU-10346 utils: use the correct lib path in mount_utils.c
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 74eb79b0fe4815daa0bebd3293c71f052c5b19d4

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30431/ Subject: LU-10346 utils: use the correct lib path in mount_utils.c Project: fs/lustre-release Branch: master Current Patch Set: Commit: 74eb79b0fe4815daa0bebd3293c71f052c5b19d4

          Quentin Bouget (quentin.bouget@cea.fr) uploaded a new patch: https://review.whamcloud.com/30431
          Subject: LU-10346 utils: : use the correct lib path in mount_utils.c
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 33d911568a3582d889235fe5f3a0622570c2cbcf

          bougetq Quentin Bouget (Inactive) added a comment - Quentin Bouget (quentin.bouget@cea.fr) uploaded a new patch: https://review.whamcloud.com/30431 Subject: LU-10346 utils: : use the correct lib path in mount_utils.c Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 33d911568a3582d889235fe5f3a0622570c2cbcf

          Oh I looked again and see PLUGIN is used to guard against loading plugins with static libraries only. So its a simple fix.

          simmonsja James A Simmons added a comment - Oh I looked again and see PLUGIN is used to guard against loading plugins with static libraries only. So its a simple fix.

          Also I see another issue as well. If you build with ./configure --disable-shared this those plugins will be built into mount.lustre directly. You can't load the plugins at all in that case.

          simmonsja James A Simmons added a comment - Also I see another issue as well. If you build with ./configure --disable-shared this those plugins will be built into mount.lustre directly. You can't load the plugins at all in that case.

          People

            bougetq Quentin Bouget (Inactive)
            cealustre CEA
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: