Details
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.