Pacemaker fails to mount gfs2 filesystem due to missing gfs2 module
Issue
During resource startup Pacemaker running gfs2 Filesystem resources may fail to mount reporting the below errors in standard logs:
$ cat /var/log/messages
------------------------------------->8-------------------------------------
Nov 23 19:45:38 node1 lrmd[2135]: notice: gfs2-filesystem1_start_0:6947:stderr [ mount: unknown filesystem type 'gfs2' ]
Nov 23 19:45:38 node1 lrmd[2135]: notice: gfs2-filesystem1_start_0:6947:stderr [ ocf-exit-reason:Couldn't mount device [/dev/gfs2vg/gfslv1] as /mnt/gfsmnt1 ]
Nov 23 19:45:38 node1 lrmd[2135]: notice: gfs2-filesystem1_start_0:6947:stderr [ mount: unknown filesystem type 'gfs2' ]
Nov 23 19:45:38 node1 lrmd[2135]: notice: gfs2-filesystem1_start_0:6947:stderr [ ocf-exit-reason:Couldn't mount device [/dev/gfs2vg/gfslv1] as /mnt/gfsmnt1 ]
Nov 23 19:45:38 node1 lrmd[2135]: notice: gfs2-filesystem1_start_0:6947:stderr [ mount: unknown filesystem type 'gfs2' ]
Nov 23 19:45:38 node1 lrmd[2135]: notice: gfs2-filesystem1_start_0:6947:stderr [ ocf-exit-reason:Couldn't mount device [/dev/gfs2vg/gfslv1] as /mnt/gfsmnt1 ]
Nov 23 19:45:38 node1 crmd[2138]: notice: Result of start operation for gfs2-filesystem1 on node1: 1 (unknown error)
Nov 23 19:45:38 node1 crmd[2138]: notice: node1-gfs2-filesystem1_start_0:32 [ mount: unknown filesystem type 'gfs2'\nocf-exit-reason:Couldn't mount device [/dev/gfs2vg/gfslv1] as /mnt/gfsmnt1\n ]
Nov 23 19:45:38 node1 crmd[2138]: notice: Result of start operation for gfs2-filesystem1 on node1: 1 (unknown error)
Nov 23 19:45:38 node1 crmd[2138]: notice: node1-gfs2-filesystem1_start_0:32 [ mount: unknown filesystem type 'gfs2'\nocf-exit-reason:Couldn't mount device [/dev/gfs2vg/gfslv1] as /mnt/gfsmnt1\n ]
Nov 23 19:45:38 node1 crmd[2138]: notice: Result of start operation for gfs2-filesystem1 on node1: 1 (unknown error)
Nov 23 19:45:38 node1 crmd[2138]: notice: node1-gfs2-filesystem1_start_0:32 [ mount: unknown filesystem type 'gfs2'\nocf-exit-reason:Couldn't mount device [/dev/gfs2vg/gfslv1] as /mnt/gfsmnt1\n ]
Environment
- Red Hat Enterprise Linux Server 7, 8 and 9 (with the High Availability Add On and Resilient Storage Add Ons)
- A Global Filesystem 2 (
gfs2) - Pacemaker
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.