[LU-8825] Lustre MGT can not been re-mount ater activating nodemap function and adding nodemap rules Created: 11/Nov/16  Updated: 06/Jul/21  Resolved: 06/Jul/21

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: Kit Westneat
Resolution: Duplicate Votes: 0
Labels: None
Environment:

Centos 7.2 3.10.0-327.22.2.el7.x86_64
Lustre 2.8.59_25_g40e3986
ZFS 0.6.5.7


Issue Links:
Duplicate
duplicates LU-8824 sanity-sec test_9: ASSERTION( config-... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

I mounted lustre file system, enabled nodemap function and added some rules by "lctl nodemap_add".Then I un-mounted all lustre and re-mounted MGT, error occurred. The error is in the following

Nov 11 09:51:30 Blustre1 kernel: Lustre: 9151:0:(nodemap_storage.c:856:nodemap_load_entries()) MGS-osd: failed to load nodemap configuration: rc = -2
Nov 11 09:51:30 Blustre1 kernel: LustreError: 9151:0:(mgs_fs.c:187:mgs_fs_setup()) MGS: error loading nodemap config file, file must be removed via ldiskfs: rc = -2
Nov 11 09:51:30 Blustre1 kernel: LustreError: 9151:0:(mgs_handler.c:1160:mgs_init0()) MGS: MGS filesystem method init failed: rc = -2
Nov 11 09:51:30 Blustre1 kernel: LustreError: 9151:0:(obd_config.c:574:class_setup()) setup MGS failed (-2)
Nov 11 09:51:30 Blustre1 kernel: LustreError: 9151:0:(obd_mount.c:199:lustre_start_simple()) MGS setup error -2
Nov 11 09:51:30 Blustre1 kernel: LustreError: 9151:0:(obd_mount_server.c:136:server_deregister_mount()) MGS not registered
Nov 11 09:51:30 Blustre1 kernel: LustreError: 15e-a: Failed to start MGS 'MGS' (-2). Is the 'mgs' module loaded?
Nov 11 09:51:30 Blustre1 kernel: Lustre: server umount MGS complete
Nov 11 09:51:30 Blustre1 kernel: LustreError: 9151:0:(obd_mount.c:1449:lustre_fill_super()) Unable to mount (-2)



 Comments   
Comment by Peter Jones [ 13/Nov/16 ]

Kit

Is this another manifestation of LU-8824?

Peter

Comment by Kit Westneat [ 15/Nov/16 ]

It looks like it, that would be my guess.

Comment by sebg-crd-pm (Inactive) [ 30/Nov/16 ]

Sorry for late response. I can remount the lustre now by using the patch, but there is still a problem that the nodemap fileset information will disappear after remounting.

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