gfs_controld join fs requires cluster=cluster1 current=”Cluster1″

Issue

gfs_controld join: fs requires cluster=cluster1 current=”Cluster1″ error is observed in gfs_controld.log and also rgmanager.log shows rgmanager [clusterfs] ‘mount -t gfs2  /dev/sdc /GFS’ failed, error=1

This happens because cluster name is different in gfs config and in cluster config.

# mount -t gfs2 /dev/clust/lv1  /mnt/lv1
fs is for a different cluster
error mounting lockproto lock_dlm

Fix: gfs_controld join fs requires cluster=cluster1 current=”Cluster1″

Please note that any changes to the superblock via gfs_toolgfs2_tool, or tunegfs2 requires that the GFS/GFS2 is not mounted on any cluster node when changes are made.

For GFS file systems, use gfs_tool:

For GFS2 file systems on RHEL 5 or 6, use gfs2_tool:

# gfs2_tool sb <device> table <clustername>:<label>
# gfs2_tool sb /dev/clustervg/lv1 table mycluster:lv1

For GFS2 file systems on RHEL 7, use tunegfs2:

# tunegfs2 -o locktable=RHEL7Clu:gfsfs /dev/ha_vg/ha_lv

For GFS2 file systems on RHEL 8, use tunegfs2:

# tunegfs2 -o locktable=RHEL8Clu:gfsfs /dev/ha_vg/ha_lv
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments