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

lhsmtool_posix (copy tool agent) does not provide facility to un register

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Cannot Reproduce
    • Critical
    • None
    • Lustre 2.5.0, Lustre 2.6.0, Lustre 2.7.0
    • centos 6.5
    • HSM
    • 15853

    Description

      steps :
      1. Mounted lustre
      2. enabled hsm

          # lctl set_param mdt.lustre-MDT0000.hsm_control=enabled
      

      3. Started copy tool daemon (only one copy tool agent can run on a client )

          #lhsmtool_posix --daemon --hsm-root /tmp/HSM --archive=1 /mnt/lustre/
      

      4. Only way to stop agent is to send TERM signal to agent as per lustre manual. So I killed it (as I wanted to run modified copy tool agent)

          # ps -ef | grep lhs
             root      4017     1  0 16:54 ?        00:00:00 lhsmtool_posix --daemon --hsm-root /tmp/HSM --archive=1 /mnt/lustre/
             root      4045  2110  0 16:55 pts/1    00:00:00 grep lhs
      

      5. Now I tried to start new copy tool agent

           #lhsmtool_posix --daemon --hsm-root /tmp/HSM --archive=1 /mnt/lustre/ 
      

      But got below message from kernel

          Sep 11 16:55:34 localhost kernel: Lustre: HSM agent b150c068-22f2-83cd-21b0-2b4e76a3082a already registered.
      

      Attachments

        1. lhs_posix_messages
          276 kB
          Vinayak Hariharmath

        Activity

          People

            bfaccini Bruno Faccini (Inactive)
            vinayak_clogeny Vinayak Hariharmath (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: