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

Wrong HSMTOOL_BASE name when kill copytools

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Rank (Obsolete):
      9223372036854775807

      Description

      When running sanity-hsm.sh on the local node, the lhsmtool_posix programm name is "lt-lhsmtool_posix", not "lhsmtool_posix". (where the path is lustre/utils/)

       

      [root@server lustre-release]# cd lustre/utils/
      [root@server utils]# ./lhsmtool_posix --help
       Usage: lt-lhsmtool_posix [options]... <mode> <lustre_mount_point>
      ...
      

       while the program run the lhsmtool_posix directly (the path is /usr/sbin/lhsmtool_posix), the output is:

      [root@server utils]# lhsmtool_posix --help
       Usage: lhsmtool_posix [options]... <mode> <lustre_mount_point>
      ...

      Thus, when running sanity-hsm.sh locally, it wrongly gets the HSMTOOL_BASE with "lhsmtool_posix", not "lt-lhsmtool_posix", and during the cleanup of HSM tests in kill_copytools, "killall -q $HSMTOOL_BASE" will kill nothing, and execute the wrong cleanup action.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                qian Qian Yingjin (Inactive)
                Reporter:
                qian Qian Yingjin (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: