A GFS2 filesystem fails to mount when there aren't enough free journals
Issue
- The
service gfs2 start
command fails with the below error message:
# service gfs2 start
Mounting GFS2 filesystem (/srv/configuration): Too many nodes mounting filesystem, no free journals
[FAILED]
- Mounting a
gfs2
filesystem on fails with the error"Too many nodes mounting filesystem, no free journals"
. - A
Filesystem
resource managing agfs2
filesystem fails to start and logs a"system call failed: Too many users"
error:
Jun 15 15:04:25 node1 kernel: gfs2: fsid=llbcluster:gfs2-LV1: first mounter control generation 0
Jun 15 15:04:25 node1 kernel: gfs2: fsid=llbcluster:gfs2-LV1: Joined cluster. Now mounting FS...
Jun 15 15:04:25 node1 kernel: gfs2: fsid=llbcluster:gfs2-LV1.2: can't mount journal #2
Jun 15 15:04:25 node1 kernel: gfs2: fsid=llbcluster:gfs2-LV1.2: there are only 2 journals (0 - 1)
Jun 15 15:04:25 node1 kernel: dlm: gfs2-LV1: leaving the lockspace group...
Jun 15 15:04:25 node1 kernel: dlm: gfs2-LV1: group event done 0 0
Jun 15 15:04:25 node1 kernel: dlm: gfs2-LV1: release_lockspace final free
Jun 15 15:04:25 node1 Filesystem(sharedfs1)[27937]: ERROR: Couldn't mount device [/dev/ClusterVG/DCT_LV] as /appmnt/dct-gfs2
Jun 15 15:04:25 node1 pacemaker-execd[1888]: notice: sharedfs1_start_0[27937] error output [ mount: /appmnt/dct-gfs2: mount(2) system call failed: Too many users. ]
Environment
- Red Hat Enterprise Linux 6 (with the Resilient Storage Add-on)
- Red Hat Enterprise Linux 7 (with the Resilient Storage Add-on)
- Red Hat Enterprise Linux 8 (with the Resilient Storage Add-on)
- A Global File System 2 (GFS2) filesystem
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.