Why do I get "fs is for a different cluster" when I attempt to mount a GFS or GFS2 filesystem?

Solution Verified - Updated -

Issue

  • How do I change the name of my gfs/gfs2 filesystem?
  • Why do I get this error when trying to mount my gfs/gfs2 filesystem?
# mount -t gfs2 /dev/clust/lv1  /mnt/lv1
fs is for a different cluster
error mounting lockproto lock_dlm
  • I get this error in the logs when trying to mount a gfs/gfs2 filesystem:
gfs_controld join: fs requires cluster="GFSPRD" current="gfsprd"

RHEL7 logs would look similar to

Aug 13 08:13:44 node1.pvt  kernel: GFS2: fsid=RHCluster:gfsfs: Trying to join cluster "lock_dlm", "RHCluster:gfsfs"
Aug 13 08:13:44 node1.pvt kernel: dlm: dlm cluster name RHEL7Clu mismatch RHCluster
Aug 13 08:13:44 node1.pvt kernel: GFS2: fsid=RHCluster:gfsfs: dlm_new_lockspace error -53
Aug 13 08:13:44 node1.pvt Filesystem(gfsclusterfs)[12528]: ERROR: Couldn't mount filesystem /dev/ha_vg/ha_lv on /data

Environment

  • Red Hat Cluster Suite 4+ and Red Hat GFS 6.1
  • Red Hat Enterprise Linux Server 5, 6, 7, or 8 (with the Resilient Storage Add-on)
  • A GFS or GFS2 filesystem

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