[Pacemaker] GFS2 will not mount

Andrew Beekhof andrew at beekhof.net
Wed Aug 15 19:42:57 EDT 2012


On Thu, Aug 16, 2012 at 2:03 AM, Michael Schwartzkopff
<misch at clusterbau.com> wrote:
> Hi,
>
> I have a problem mounting GFS2 in my test setup:
>
> I try to create a cluster with RHEL6.2 according to "Clusters from the
> Scratch"
>
> I have cman with the proper cluster name "cluster".
>
> cman starts without problems.


You ran

   sed -i.sed "s/.*CMAN_QUORUM_TIMEOUT=.*/CMAN_QUORUM_TIMEOUT=0/g"
/etc/sysconfig/cman

before starting?

>
> My cluster config is:
>
> primitive resFS ocf:heartbeat:Filesystem \
>         params device="/dev/sdb1" fstype="gfs2" directory="/mnt"
> clone cloneFS resFS
>
>
> Staring this on both cluster nodes work smooth.
>
> But when I want st start this when only one node is available I get:
>
> Aug 15 14:43:35 node1 kernel: dlm_new_lockspace error -512
> Aug 15 14:43:35 node1 kernel: GFS2: fsid=: Trying to join cluster "lock_dlm",
> "cluster:store"
> Aug 15 14:43:35 node1 kernel: dlm: Using TCP for communications
> Aug 15 14:43:35 node1 dlm_controld[17757]: process_uevent online@ error -17
> errno 2
> (...)
> Aug 15 14:44:33 node kernel: dlm: store: group join failed -512 0
>
> When I try to mount the FS manually
>
> mount -t gfs2 -o locktable="cluster:store" /dev/sdb1 /mnt
>
> I get a timeout.
>
> Any ideas?
>
>
> --
> Dr. Michael Schwartzkopff
> Guardinistr. 63
> 81375 München
>
> Tel: (0163) 172 50 98
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>




More information about the Pacemaker mailing list