[LU-9080] Fileset of a new adding nodemap can't be synchronized between MDTs. Created: 07/Feb/17 Updated: 16/Feb/17 Resolved: 16/Feb/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: |
Centos 7.2 3.10.0-327.22.2.el7.x86_64 |
||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
We have added a new nodemap by using "Ictl nodemap_add" command on our MGS0/MDS1. After about 10 seconds, we have viewed information for this new nodemap by using "Ictl get_param nodemap.XXXX.* " on MDS0. We have found that all information has been tranferred to MDS0 successfully except Fileset. Does anyone have the same problem? Please advise. Thanks! |
| Comments |
| Comment by Peter Jones [ 07/Feb/17 ] |
|
Emoly Could you please investigate this one? Thanks Peter |
| Comment by Emoly Liu [ 13/Feb/17 ] |
|
The code in nodemap_create() says if (is_default || default_nodemap == NULL) { ...... } else { nodemap->nmf_trust_client_ids = default_nodemap->nmf_trust_client_ids; nodemap->nmf_allow_root_access = default_nodemap->nmf_allow_root_access; nodemap->nmf_deny_unknown = default_nodemap->nmf_deny_unknown; nodemap->nm_squash_uid = default_nodemap->nm_squash_uid; nodemap->nm_squash_gid = default_nodemap->nm_squash_gid; nodemap->nm_fileset[0] = 0; } "nodemap->nm_fileset[0] = 0", that's is why you saw an empty fileset. |
| Comment by sebg-crd-pm (Inactive) [ 16/Feb/17 ] |
|
Hi Emoly, We has solved our problem by using 'lctl set_param -P' commands. Thanks for your help! |
| Comment by Emoly Liu [ 16/Feb/17 ] |
|
Glad to see that you have resolved the problem. I will close this ticket and you can file a new one if you have other question. |