<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div id="yiv833195851"><div><div style="color:#000;background-color:#fff;font-family:arial, helvetica, sans-serif;font-size:12pt;"><div id="yiv833195851yui_3_7_2_17_1359543039164_39"><br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;" id="yiv833195851yui_3_7_2_17_1359543039164_131">I am facing few issues while creating a GFS2 file system . GFS2 file creation is successful , but  it is failing while trying to mount the file system . <br><br>It is failing with the following error :<br><br>===<br></div><div id="yiv833195851yui_3_7_2_17_1359543039164_160" style="color:rgb(0, 0, 0);font-size:16px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;">[root@eser~]# /etc/init.d/gfs2 start<br>Mounting GFS2 filesystem
 (/sharedweb): fs is for a different cluster<br>error mounting lockproto lock_dlm<br>                                                           [FAILED]<br>----------<br><br>[root@eser ~]# tail -f /var/log/messages<br>Jan 30 15:50:27 eser modcluster: Updating cluster version<br>Jan 30 15:50:27 eser corosync[7121]:   [QUORUM] Members[2]: 1 2<br>Jan 30 15:50:28 eser rgmanager[7379]: Reconfiguring<br>Jan 30 15:50:28 eser rgmanager[7379]: Loading Service Data<br>Jan 30 15:50:29 eserrgmanager[7379]: Stopping changed resources.<br>Jan 30 15:50:29 eser rgmanager[7379]: Restarting changed resources.<br>Jan 30 15:50:29 eser rgmanager[7379]: Starting changed
 resources.<br>Jan 30 15:56:21 eser gfs_controld[7254]: join: fs requires cluster="mycluster" current="sharedweb"<br>Jan 30 16:02:43 eser gfs_controld[7254]: join: fs requires cluster="mycluster" current="sharedweb"<br>Jan 30 18:46:48 eser gfs_controld[7254]: join: fs requires cluster="mycluster" current="sharedweb"<br><br id="yiv833195851yui_3_7_2_17_1359543039164_167"></div><div id="yiv833195851yui_3_7_2_17_1359543039164_164" style="color:rgb(0, 0, 0);font-size:16px;font-family:arial, helvetica, sans-serif;background-color:transparent;font-style:normal;">  ==========<br><br>"sharedweb" is the cluster which I created earlier and created the GFS2 file system using this cluster name. But I deleted "sharedweb" cluster and created a new cluster called "mycluster" , but while mounting the GFS2 partition with the new cluster , it is showing the error as mentioned above .<br><br>I created the new GFS2 file system using the command as shown below
 <br><br>mkfs.gfs2 -t mycluster:mygfs2 -p lock_dlm -j 2 /dev/mapper/mpathcp1<br><br>My cluster config is as follows:<br><br>=====<br># cat /etc/cluster/cluster.conf<br><?xml version="1.0"?><br><cluster config_version="2" name="mycluster"><br>        <clusternodes><br>                <clusternode name="eser.xxx.com" nodeid="1"/><br>                <clusternode name="www.xxxxx.com" nodeid="2"/><br>        </clusternodes><br>        <cman expected_votes="1" two_node="1"/><br></cluster><br>===<br><br>Please suggest how to resolve the issue<br><br><br>Thanks<br>Zaman<br></div></div></div></div></div></body></html>