Re: GFS Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



lakshmana swamy wrote:

  Hi Friends,

I have configured gfs on RHEL 5.2, While mounting It gives the following error messages.

====================

[root@lvs1 ~]# mount -t gfs  -v /dev/sdb1 /share/
/sbin/mount.gfs: mount /dev/sdb1 /share
/sbin/mount.gfs: parse_opts: opts = "rw"
/sbin/mount.gfs:   clear flag 1 for "rw", flags = 0
/sbin/mount.gfs: parse_opts: flags = 0
/sbin/mount.gfs: parse_opts: extra = ""
/sbin/mount.gfs: parse_opts: hostdata = ""
/sbin/mount.gfs: parse_opts: lockproto = ""
/sbin/mount.gfs: parse_opts: locktable = ""
/sbin/mount.gfs: message to gfs_controld: asking to join mountgroup:
/sbin/mount.gfs: write "join /share gfs lock_dlm laxman:gfs rw /dev/sdb1"
*/sbin/mount.gfs: fs is for a different cluster
/sbin/mount.gfs: error mounting lockproto lock_dlm*
[root@lvs1 ~]#

===================
 log messages here
*
Feb 1 19:52:23 lvs1 gfs_controld[7267]: mount: fs requires cluster="laxman" current="locuz" Feb 1 19:59:46 lvs1 gfs_controld[7267]: mount: fs requires cluster="laxman" current="locuz"
*
=======

I have installed all the necessary packages. But Iam unable to figure out whats the problem, pls help me !!!

 Thanking you

laxman

------------------------------------------------------------------------
Get a view of the world through MSN Video. Some things just cannot be left unseen. Try it! <http://video.msn.com/?mkt=en-in>
------------------------------------------------------------------------

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

GFS volumes are tagged to the cluster they are locked by. This is done when they are created.

I've never seen this message before, but it seems straight forward - the cluster name defined in /etc/cluster/cluster.conf is different from the one tagged on the GFS volume. In this case the cluster name in /etc/cluster/cluster.conf is defined as "locuz", but the GFS volumes were tagged as belonging to "laxman"

Check cluster.conf:

[root@clusternode01 ~]# cat /etc/cluster/cluster.conf|grep config_version
<cluster alias="cluster01" config_version="228" name="cluster01">

Now check the GFS volume:

[root@clusternode01 ~]# gfs_tool list
18146975903901458037 dm-2 cluster01:gfs.0

You'll probably find in your case that name="cluster01" and "cluster01:gfs" don't match.

To change it, unmount the volume from all nodes, then check out the "man gfs_tool" for the "gfs_tool sb device table" command for how to modify the GFS volume. Also check https://wiki.ncl.cs.columbia.edu/wiki/index.php/GFS_Initialization for an example on how to use the command.

Regards,

Stewart

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux