Hi,
I have configured two machines for testing gfs filesystems. They are
attached to a iscsi device and centos versions are:
CentOS release 5.4 (Final)
Linux node1.fib.upc.es 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009
i686 i686 i386 GNU/Linux
The problem is if I try to mount a gfs partition it hangs.
[r...@node2 ~]# cman_tool status
Version: 6.2.0
Config Version: 29
Cluster Name: gfs-test
Cluster Id: 25790
Cluster Member: Yes
Cluster Generation: 4156
Membership state: Cluster-Member
Nodes: 2
Expected votes: 2
Quorum device votes: 2
Total votes: 4
Quorum: 3
Active subsystems: 9
Flags:
Ports Bound: 0
Node name: node2.fib.upc.es
Node ID: 2
Multicast addresses: 239.192.100.35
Node addresses: 147.83.41.130
[r...@node2 ~]# cman_tool nodes
Node Sts Inc Joined Name
0 M 0 2010-03-24 14:46:22 /dev/web/web
1 M 4156 2010-03-24 17:08:36 node1.fib.upc.es
2 M 4132 2010-03-24 14:46:09 node2.fib.upc.es
[r...@node2 ~]# group_tool
hangs...
[r...@node1 ~]# mount -t gfs /dev/home2/home2 /home2
hangs...
If I cancel the command I can return to the terminal and I don't see
anything in log files.
The resource /dev/home2/home2 is accessible by the two nodes and if I
try to mount /home2 with lock_nolock there is no problem.
cluster.conf is:
<?xml version="1.0"?>
<cluster alias="gfs-test" config_version="29" name="gfs-test">
<quorumd device="/dev/web/web" interval="1" min_score="1"
tko="10" votes="2">
<heuristic interval="10" program="/bin/ping -t1 -c1
147.83.41.1" score="1"/>
</quorumd>
<fence_daemon post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="node1.fib.upc.es" nodeid="1" votes="1">
<fence>
<method name="1">
<device name="gfs-test"
nodename="node1.fib.upc.es"/>
</method>
</fence>
</clusternode>
<clusternode name="node2.fib.upc.es" nodeid="2" votes="1">
<fence>
<method name="1">
<device name="gfs-test"
nodename="node2.fib.upc.es"/>
</method>
</fence>
</clusternode>
</clusternodes>
<cman/>
<fencedevices>
<fencedevice agent="fence_manual" name="gfs-test"/>
</fencedevices>
<rm>
<resources>
<clusterfs device="/dev/home2/home2"
force_unmount="0" fsid="1605" fstype="gfs" mountpoint="/home2"
name="home alumnes" options=""/>
</resources>
</rm>
</cluster>
Any help will be welcomed.
Thanks,
Sandra
_______________________________________________
CentOS mailing list
[email protected]
http://lists.centos.org/mailman/listinfo/centos