[LU-9291] LustreError: Cannot find agent for archive 0 Created: 04/Apr/17  Updated: 22/Dec/17  Resolved: 22/Dec/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Question/Request Priority: Minor
Reporter: Michael Gilbert Assignee: WC Triage
Resolution: Incomplete Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

I'm having trouble with my Lustre HSM setup. I had it working just fine and then I must have done something because now none of the lfs hsm commands will work. I tried restarting everything but I can't get the posix copytool to receive any instructions. On the head node I am running this:

lhsmtool_posix --verbose --hsm-root /hsm --archive=1 /lustre-scratch/

I only have this one agent running and the MDS sees it:

 

[root@mds ~]# lctl get_param -n mdt.scratch-MDT0000.hsm.agents
uuid=42ce88a0-4df0-b0ce-bfc8-26eb46e045cf archive_id=1 requests=[current:0 ok:0 errors:0]

 

However, I receive the following messages on the MDS at regular intervals:

 

Apr  4 12:12:24 mds kernel: LustreError: 1411:0:(mdt_hsm_cdt_agent.c:339:mdt_hsm_agent_send()) scratch-MDT0000: Cannot find agent for archive 0: rc = -11
Apr  4 12:12:24 mds kernel: LustreError: 1411:0:(mdt_hsm_cdt_agent.c:339:mdt_hsm_agent_send()) Skipped 96 previous similar messages

 

 And sure enough, if I try to do any hsm archive commands, nothing happens. The command seems to return successful, but no actions have been performed and the copytool output doesn't show anything:

 

[root@head mkg52]# lfs hsm_state *
testing123: (0x00000000)
testing456: (0x00000000)
[root@head mkg52]# lfs hsm_archive *
[root@head mkg52]# lfs hsm_state *
testing123: (0x00000000)
testing456: (0x00000000)

 

I'm not sure what to make of this and can't figure out what's happening. Can anyone help?



 Comments   
Comment by Quentin Bouget [ 30/May/17 ]

Hi,

Did you try to stop the copytool and restart it?

Generated at Sat Feb 10 02:24:52 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.