A kernel panic occurred after a gfs2 withdrawal and logs the message: `No other mounters found. Trying to recover our own journal ....`

Solution Verified - Updated -

Issue

  • A kernel panic occurred after a gfs2 withdrawal:

     [ 1802.049604] gfs2: fsid=cluster8:data.0: fatal: invalid metadata block
       bh = 22808713 (type: exp=4, found=10)
       function = gfs2_meta_buffer, file = fs/gfs2/meta_io.c, line = 499
     [ 1802.049896] gfs2: fsid=cluster8:data.0: about to withdraw this file system
     [ 1807.922115] gfs2: fsid=cluster8:data.0: Requesting recovery of jid 0.
     [ 1808.123822] gfs2: fsid=cluster8:data.0: No other mounters found. Trying to recover our own journal jid 0.
     [ 1808.123857] BUG: unable to handle kernel NULL pointer dereference at 0000000000000028
     [ 1808.124021] PGD 0 P4D 0
     [ 1808.124168] Oops: 0000 [#1] SMP PTI
     [ 1808.124318] CPU: 1 PID: 19712 Comm: kworker/1:2 Kdump: loaded Not tainted 4.18.0-477.21.1.el8_8.x86_64 #1
     [ 1808.124544] Hardware name: VMware, Inc. VMware7,1/440BX Desktop Reference Platform, BIOS VMW71.00V.21100432.B64.2301110304 01/11/2023
     [ 1808.124735] Workqueue: gfs_recovery gfs2_recover_func [gfs2]
     [ 1808.124813] RIP: 0010:gfs2_recover_func+0x3e/0x100 [gfs2]
     [ 1808.124873] Code: 89 e5 41 57 41 56 41 55 41 54 41 52 53 48 89 fb 48 81 ec a0 01 00 00 ...... a8 04 74
     [ 1808.124988] RSP: 0018:ffffc0a1c53b7cb0 EFLAGS: 00010246
     [ 1808.125027] RAX: 0000000000000000 RBX: ffff9fb99bdefe68 RCX: ffff9fbe5de72860
     [ 1808.125075] RDX: 0000000000000001 RSI: ffff9fb99bdefe70 RDI: ffff9fb99bdefe68
     [ 1808.125122] RBP: ffffc0a1c53b7e80 R08: 0000000000000008 R09: 0000000079726576
     [ 1808.125169] R10: ffffc0a1c53b7ea0 R11: 0000000000000010 R12: ffffe0a1bbe78300
     [ 1808.125217] R13: 0000000000000000 R14: 0000000000000000 R15: ffff9fb99bdefe70
     [ 1808.125264] FS:  0000000000000000(0000) GS:ffff9fbe5de40000(0000) knlGS:0000000000000000
     [ 1808.125317] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
     [ 1808.128422] CR2: 0000000000000028 CR3: 0000000021e10001 CR4: 00000000003706e0
     [ 1808.130175] Call Trace:
     [ 1808.131831]  ? load_balance+0x167/0xca0
     [ 1808.133521]  ? sched_clock+0x5/0x10
     [ 1808.134892]  ? sched_clock_cpu+0xc/0xb0
     [ 1808.135740]  ? newidle_balance+0x308/0x3c0
     [ 1808.136552]  ? __switch_to_asm+0x43/0x80
     [ 1808.137351]  ? __switch_to+0x10c/0x450
     [ 1808.138158]  ? finish_task_switch+0x86/0x2e0
     [ 1808.138940]  ? process_one_work+0x1a7/0x360
     [ 1808.139712]  ? __get_log_header+0xf0/0xf0 [gfs2]
     [ 1808.140513]  process_one_work+0x1a7/0x360
     [ 1808.141321]  ? create_worker+0x1a0/0x1a0
     [ 1808.142100]  worker_thread+0x30/0x390
     [ 1808.142868]  ? create_worker+0x1a0/0x1a0
     [ 1808.143639]  kthread+0x134/0x150
     [ 1808.144388]  ? set_kthread_struct+0x50/0x50
     [ 1808.145163]  ret_from_fork+0x35/0x40
     [ 1808.145899] Modules linked in: gfs2 dlm xt_CHECKSUM ipt_MASQUERADE xt_conntrack ...... dm_mod fuse
     [ 1808.152603] CR2: 0000000000000028
    

Environment

  • Red Hat Enterprise Linux Server 8, 9 (with the High Availability Add On and Resilient Storage Add Ons)
  • A Global Filesystem 2(gfs2)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content