[LU-9518] Register lhsmtool_posix copy fail if enable nodemap Created: 17/May/17  Updated: 28/Sep/17  Resolved: 28/Sep/17

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

Type: Bug Priority: Minor
Reporter: sebg-crd-pm (Inactive) Assignee: Emoly Liu
Resolution: Fixed Votes: 0
Labels: None
Environment:

Lustre 2.9.0


Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

1.environment
If "lctl nodemap_activate 0"
=>register copy tool ok then lfs hsm_archive testfile ok
If "lctl nodemap_activate 1"
=>regsiter copy tool fail

2.execute copytool message
/usr/sbin/lhsmtool_posix --archive 1 -p /mnt/hsmroot /mnt/client

1494998186.902688 lhsmtool_posix[4082]: action=0 src=(null) dst=(null) mount_point=/mnt/client
cannot start copytool on '/mnt/client': Operation not permitted (1)
1494998186.906422 lhsmtool_posix[4082]: cannot start copytool interface: Operation not permitted (1)
1494998186.906516 lhsmtool_posix[4082]: process finished, errs: 0 major, 0 minor, rc=-1 (Operation not permitted)

3.dmesg
[ 6332.813200] LustreError: 4082:0:(lmv_obd.c:846:lmv_hsm_ct_register()) jlustre-clilmv-ffff88203b6aa800: iocontrol MDC jlustre-MDT0000_UUID on MDT idx 0 cmd 401866d5: err = -1



 Comments   
Comment by Peter Jones [ 17/May/17 ]

Emoly

Could you please assist with this one?

Thanks

Peter

Comment by sebg-crd-pm (Inactive) [ 22/May/17 ]

Does anyone have the same problem?

Comment by sebg-crd-pm (Inactive) [ 28/Sep/17 ]

It can be solved by set copytool client as admin.

Comment by Emoly Liu [ 28/Sep/17 ]

Thanks to let me know that. I will close this ticket. You can reopen it if you still have any question.

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