GFS2 Filesystem resource fails to start with mount error "File exists"
Issue
- GFS2 Filesystem resource fails to start with mount error "File exists".
Mar 22 11:17:03 node-1 Filesystem(gfs2_resc_ctmag)[31369]: INFO: Running start for /dev/vgctm/lvctmag on /ctmag
Mar 22 11:17:03 node-1 kernel: ------------[ cut here ]------------
Mar 22 11:17:03 node-1 kernel: WARNING: CPU: 1 PID: 31429 at fs/sysfs/dir.c:518 sysfs_add_one+0xa5/0xd0
Mar 22 11:17:03 node-1 kernel: sysfs: cannot create duplicate filename '/fs/gfs2/BI4Cluster:gfsfs'
Mar 22 11:17:03 node-1 kernel: GFS2: fsid=BI4Cluster:gfsfs: error -17 adding sysfs files
...
Mar 22 11:17:03 node-1 kernel: ------------[ cut here ]------------
Mar 22 11:17:03 node-1 kernel: WARNING: CPU: 1 PID: 31429 at lib/kobject.c:203 kobject_add_internal+0x204/0x270
Mar 22 11:17:03 node-1 kernel: kobject_add_internal failed for BI4Cluster:gfsfs with -EEXIST, don't try to register things with the same name in the same directory.
...
Mar 22 11:17:03 frdrtsudwh14q Filesystem(gfs2_resc_ctmag)[31369]: ERROR: Couldn't mount filesystem /dev/vgctm/lvctmag on /ctmag
Mar 22 11:17:03 frdrtsudwh14q lrmd[1516]: notice: gfs2_resc_ctmag_start_0:31369:stderr [ mount: mount /dev/mapper/vgctm-lvctmag on /ctmag failed: File exists ]
Mar 22 11:17:03 frdrtsudwh14q lrmd[1516]: notice: gfs2_resc_ctmag_start_0:31369:stderr [ ocf-exit-reason:Couldn't mount filesystem /dev/vgctm/lvctmag on /ctmag ]
Environment
- Red Hat Enterprise Linux (RHEL) 7
- Red Hat Enterprise Linux (RHEL) 8
- Red Hat Enterprise Linux (RHEL) 9
- Resilient Storage Add-on
- At least two GFS2 filesystems
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.