[LU-16146] after dropping mgs/mdt0 for test: mdt_handler.c:7522:mdt_postrecov()) lflood-MDT0000: auto trigger paused LFSCK failed: rc = -6 Created: 08/Sep/22 Updated: 26/Jan/23 Resolved: 26/Jan/23 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.15.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Gian-Carlo Defazio | Assignee: | Lai Siyao |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | llnl | ||
| Environment: |
TOSS 4.4-4.1 |
||
| Attachments: |
|
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
After doing a test that involved turning off the mgs/mdt0 node for the test cluster garter, the mdts fail to come back up. They are stuck "WAITING". When the mgs node was powered off, an ior test was in progress. Failover seemed to work, but the ior job was unable to finish. The cluster was eventually rebooted. After the reboot, the logs show that all 4 mdts are failing an lfsck_start with a line such as 2022-09-07 14:35:12 [ 5791.188613] Lustre: 32474:0:(mdt_handler.c:7522:mdt_postrecov()) lflood-MDT0000: auto trigger paused LFSCK failed: rc = -6 I believe that -6 is coming from lfsck_start() lfsck = lfsck_instance_find(key, true, false); if (unlikely(lfsck == NULL)) RETURN(-ENXIO); if (unlikely(lfsck->li_stopping)) GOTO(put, rc = -ENXIO); For our reference, our local ticket is TOSS5875 |
| Comments |
| Comment by Peter Jones [ 09/Sep/22 ] |
|
Lai Could you please advise on this one? Thanks Peter |
| Comment by Olaf Faaland [ 12/Sep/22 ] |
|
Gian-Carlo, Can you describe what you saw that gave the impression that "Failover seemed to work"? IE did the mgs and mdts mount, but never exit recovery? And I think attach the console log for the garter nodes that were hosting the MGS and MDT0000 at any point during this sequence of events. thanks |
| Comment by Gian-Carlo Defazio [ 13/Sep/22 ] |
|
For the failover, I could see pacemaker moving MGS and MDT0 from garter1 to garter2 after garter1 was turned off, then ltop showed MDT1 running on garter2. |
| Comment by Gian-Carlo Defazio [ 13/Sep/22 ] |
|
I've added the console logs for garter[1,2] |
| Comment by Lai Siyao [ 13/Oct/22 ] |
|
I'll review related code. It's better if you can enable trace with "lfs set_param debug=+trace" and dump debug of MDS. |
| Comment by Peter Jones [ 21/Oct/22 ] |
|
defazio will you be able to gather this additional debug info? |
| Comment by Gian-Carlo Defazio [ 24/Oct/22 ] |
|
pjones So yes I can get logs for trying to start up the MDTs, but I'm not sure when. |
| Comment by Gian-Carlo Defazio [ 26/Jan/23 ] |
|
We were unable to reproduce this when bringing up out file system both manually and using pacemaker. |