GFS2 CMAN and friends.

61 views
Skip to first unread message

Giles

unread,
Jul 8, 2009, 9:03:00 AM7/8/09
to SC101 NBD Server
I am trying to follow the howto here:
http://www.dknss.com/data/sc101-nbd-init/sc101-gfs-howto/
When I created the partition in that howto using mkfs.gfs2 /dev/nbd0 I
got:

mkfs.gfs2: locktable error: missing colon in the locktable

I tried

mkfs.gfs2 -t storage:linux0 -j 5 /dev/ndb0

which worked.
But when I try to mount it I get

/sbin/mount.gfs2: can't connect to gfs_controld: Connection refused

According to something I found on the web, this is bacuse cman isn't
running.
So I installed cman and ran

/etc/init.d/cman start

Which then says I need to create an /etc/cluster/cluster.conf

I created a cluster.conf and tried cman again and got:

Starting cluster manager:
Loading kernel modules: done
Mounting config filesystem: done
Starting cluster configuration system: done
Joining cluster:cman not started: Can't find local node name in the
configuration
cman_tool: aisexec daemon didn't start
done
Starting daemons: groupd fenced dlm_controld gfs_controld
Joining fence domain:fence_tool: can't communicate with fenced -1
done
Starting Quorum Disk daemon: done


Well how do I configure cman? what is is, and why is none of this in
the basic howto?

Giles

unread,
Jul 8, 2009, 4:31:35 PM7/8/09
to SC101 NBD Server
I found the problem to be that I hadn't rebooted since upgrading my
kernel, so presumably something was going wrong with loading various
kernel modules.

Once I got cman running, I can now successfully mount the gfs2
partition from multiple machines.

Now If only I can figure out how to do mirroring.
Reply all
Reply to author
Forward
0 new messages