[CentOS] mounting gfs partition hangs

sandra-llistes sandra-llistes at fib.upc.edu
Wed Mar 24 16:08:10 UTC 2010


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.

[root at 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
Ports Bound: 0
Node name: node2.fib.upc.es
Node ID: 2
Multicast addresses:
Node addresses:

[root at 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

[root at node2 ~]# group_tool

[root at node1 ~]# mount -t gfs /dev/home2/home2 /home2

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" score="1"/>
        <fence_daemon post_fail_delay="0" post_join_delay="3"/>
                <clusternode name="node1.fib.upc.es" nodeid="1" votes="1">
                                <method name="1">
                                        <device name="gfs-test"
                <clusternode name="node2.fib.upc.es" nodeid="2" votes="1">
                                <method name="1">
                                        <device name="gfs-test"
                <fencedevice agent="fence_manual" name="gfs-test"/>
                        <clusterfs device="/dev/home2/home2"
force_unmount="0" fsid="1605" fstype="gfs" mountpoint="/home2"
name="home alumnes" options=""/>

Any help will be welcomed.


More information about the CentOS mailing list