A kernel panic occurred when mounting a gfs2 filesystem: kernel BUG at fs/gfs2/glock.c:1275

Solution Verified - Updated -

Issue

  • A kernel panic occurred when mounting a gfs2 filesystem: kernel BUG at fs/gfs2/glock.c:1275
[  206.575662] gfs2: fsid=cluster7:data01: Trying to join cluster "lock_nolock", "cluster7:data01"
[  206.575664] gfs2: fsid=cluster7:data01: Now mounting FS...
[  206.580997] gfs2: fsid=cluster7:data01.0: journal 0 mapped with 1 extents in 0ms
[  206.581001] gfs2: fsid=cluster7:data01.0: jid=0, already locked for use
[  206.581002] gfs2: fsid=cluster7:data01.0: jid=0: Looking at journal...
[  206.797100] gfs2: fsid=cluster7:data01.0: jid=0: Journal head lookup took 216ms
[  206.797107] gfs2: fsid=cluster7:data01.0: jid=0: Acquiring the transaction lock...
[  206.797126] gfs2: fsid=cluster7:data01.0: jid=0: Replaying journal...0x7bd5 to 0x7c14
[  206.798582] attempt to access beyond end of device
[  206.798588] dm-9: rw=1137, want=207613296, limit=207609856
[  206.798593] Buffer I/O error on dev dm-9, logical block 25951661, lost async page write
[  206.799014] gfs2: fsid=cluster7:data01.0: fatal: I/O error
  function = gfs2_meta_sync, file = fs/gfs2/meta_io.c, line = 115
[  206.799105] gfs2: fsid=cluster7:data01.0: about to withdraw this file system
[  206.799212] gfs2: fsid=cluster7:data01.0: original: gfs2_recover_func+0x2ed/0x8e0 [gfs2]
[  206.799271] gfs2: fsid=cluster7:data01.0: pid: 55
[  206.799309] gfs2: fsid=cluster7:data01.0: lock type: 1 req lock state : 3
[  206.799390] gfs2: fsid=cluster7:data01.0: new: gfs2_make_fs_ro+0xcd/0x260 [gfs2]
[  206.799444] gfs2: fsid=cluster7:data01.0: pid: 55
[  206.799482] gfs2: fsid=cluster7:data01.0: lock type: 1 req lock state : 3
[  206.799537] gfs2: fsid=cluster7:data01.0: G:  s:SH n:1/2 f:qb t:SH d:EX/0 a:0 v:0 r:4 m:200
[  206.799611] gfs2: fsid=cluster7:data01.0:  H: s:SH f:epcH e:0 p:55 [kworker/9:0] gfs2_recover_func+0x2ed/0x8e0 [gfs2]
[  206.799728] ------------[ cut here ]------------
[  206.799763] kernel BUG at fs/gfs2/glock.c:1275!
[  206.799796] invalid opcode: 0000 [#1] SMP
[  206.800177] type=1400 audit(1661428498.537:433): avc:  denied  { write } for  pid=1545 comm="in:imjournal" name="imjournal.state.tmp" dev="dm-3" ino=4225743 scontext=system_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=0
[  206.800189] type=1300 audit(1661428498.537:433): arch=c000003e syscall=2 success=no exit=-13 a0=7efd804f6cd0 a1=241 a2=1b6 a3=24 items=0 ppid=1 pid=1545 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="in:imjournal" exe="/usr/sbin/rsyslogd" subj=system_u:system_r:syslogd_t:s0 key=(null)
[  206.800191] type=1327 audit(1661428498.537:433): proctitle=2F7573722F7362696E2F727379736C6F6764002D6E
[  206.800920] type=1400 audit(1661428498.538:434): avc:  denied  { write } for  pid=1545 comm="in:imjournal" name="imjournal.state.tmp" dev="dm-3" ino=4225743 scontext=system_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=0
[  206.799835] Modules linked in: gfs2 dlm vmw_vsock_vmci_transport vsock sunrpc iosf_mbi crc32_pclmul ghash_clmulni_intel aesni_intel lrw ppdev gf128mul glue_helper ablk_helper cryptd vmw_balloon pcspkr sg joydev parport_pc parport vmw_vmci i2c_piix4 binfmt_misc ip_tables xfs libcrc32c sr_mod cdrom ata_generic pata_acpi vmwgfx drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm sd_mod crc_t10dif ata_piix crct10dif_generic mptsas libata scsi_transport_sas crct10dif_pclmul crct10dif_common crc32c_intel nfit mptscsih e1000 mptbase libnvdimm vmw_pvscsi serio_raw drm_panel_orientation_quirks dm_mirror dm_region_hash dm_log dm_mod
[  206.811545] CPU: 9 PID: 55 Comm: kworker/9:0 Kdump: loaded Not tainted 3.10.0-1160.71.1.el7.x86_64 #1
[  206.812348] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 04/05/2016
[  206.813129] Workqueue: gfs_recovery gfs2_recover_func [gfs2]
[  206.813908] task: ffff97f6993ae300 ti: ffff97f6993c4000 task.ti: ffff97f6993c4000
[  206.814690] RIP: 0010:[<ffffffffc0756b4a>]  [<ffffffffc0756b4a>] gfs2_glock_nq+0x39a/0x470 [gfs2]
[  206.815486] RSP: 0018:ffff97f6993c7b00  EFLAGS: 00010282
[  206.816273] RAX: 0000000000000000 RBX: ffff97f6993c7b50 RCX: 0000000000000000
[  206.817066] RDX: 0000000000000000 RSI: ffff98053d8538d8 RDI: ffff98053d8538d8
[  206.817857] RBP: ffff97f6993c7b40 R08: 0000000000000000 R09: 0000000000000096
[  206.818641] R10: 00000000000007e5 R11: 0000000000aaaaaa R12: ffff98051ffd0540
[  206.819431] R13: ffff98051ffd0590 R14: ffff98051ffd0540 R15: ffff98052849c8d8
[  206.820221] FS:  0000000000000000(0000) GS:ffff98053d840000(0000) knlGS:0000000000000000
[  206.821018] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  206.821805] CR2: 00007efd80e551b8 CR3: 0000000fe85cc000 CR4: 00000000003607e0
[  206.822647] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  206.823443] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  206.824222] Call Trace:
[  206.824995]  [<ffffffffc07737a5>] gfs2_make_fs_ro+0xd5/0x260 [gfs2]
[  206.825771]  [<ffffffffc077379d>] ? gfs2_make_fs_ro+0xcd/0x260 [gfs2]
[  206.826552]  [<ffffffffc0775f30>] gfs2_withdraw+0x1a0/0x490 [gfs2]
[  206.827322]  [<ffffffffc07765bc>] gfs2_io_error_i+0x2c/0x30 [gfs2]
[  206.828081]  [<ffffffffc075c365>] gfs2_meta_sync+0x55/0x60 [gfs2]
[  206.828819]  [<ffffffffc075a39d>] buf_lo_after_scan+0x4d/0x70 [gfs2]
[  206.829552]  [<ffffffffc076c438>] gfs2_recover_func+0x518/0x8e0 [gfs2]
[  206.830280]  [<ffffffffa9ce4e4c>] ? dequeue_entity+0x11c/0x5c0
[  206.831007]  [<ffffffffa9ce6451>] ? put_prev_entity+0x31/0x400
[  206.831728]  [<ffffffffa9ce2409>] ? pick_next_entity+0xa9/0x190
[  206.832450]  [<ffffffffa9ce281c>] ? set_next_entity+0x3c/0xe0
[  206.833170]  [<ffffffffa9c2b59e>] ? __switch_to+0xce/0x580
[  206.833894]  [<ffffffffc076c20d>] ? gfs2_recover_func+0x2ed/0x8e0 [gfs2]
[  206.834618]  [<ffffffffa9cbdfbf>] process_one_work+0x17f/0x440
[  206.835341]  [<ffffffffa9cbf0d6>] worker_thread+0x126/0x3c0
[  206.836055]  [<ffffffffa9cbefb0>] ? manage_workers.isra.26+0x2a0/0x2a0
[  206.836761]  [<ffffffffa9cc5f91>] kthread+0xd1/0xe0
[  206.837460]  [<ffffffffa9cc5ec0>] ? insert_kthread_work+0x40/0x40
[  206.838173]  [<ffffffffaa399df7>] ret_from_fork_nospec_begin+0x21/0x21
[  206.838871]  [<ffffffffa9cc5ec0>] ? insert_kthread_work+0x40/0x40
[  206.839516] Code: 48 8b 43 10 0f b7 4b 22 4c 89 fe 48 c7 c7 d8 ff 77 c0 8b 50 28 31 c0 e8 cd 98 c2 e9 ba 01 00 00 00 4c 89 f6 31 ff e8 56 dd ff ff <0f> 0b 0f 1f 40 00 48 8b 45 c8 48 85 c0 49 0f 44 c0 48 89 45 c8
[  206.840966] RIP  [<ffffffffc0756b4a>] gfs2_glock_nq+0x39a/0x470 [gfs2]
[  206.841626]  RSP <ffff97f6993c7b00>

Environment

  • Red Hat Enterprise Linux Server 7(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