[Ocfs2-users] Unable to access cluster service

Sunil Mushran Sunil.Mushran at oracle.com
Wed Oct 12 17:17:55 CDT 2005


root at lenaeja:~# cat /etc/ocfs2/cluster.conf
cluster:
        node_count = 0
        name = ocfs2


You have no nodes defined in cluster.conf. Refer to the
sample cluster.conf in the user's guide.

Jan Lenaerts wrote:

> hello,
>
> I'm running Ubuntu Breezy with the OCFS2 modules in the standard 
> kernel. I installed ocfs2console and ocfs2-tools
> I've formatted a partition with ocfs2. But I can't add any node or 
> mount the device(with the ocfs2console). because I get a "Unable to 
> access cluster service"
> I can't find the cause nor the solution to this.
>
> root at lenaeja:~# /etc/init.d/o2cb status
> Module "sctp": Loaded
> Module "configfs": Loaded
> Filesystem "configfs": Mounted
> Module "ocfs2_nodemanager": Loaded
> Module "ocfs2_dlm": Loaded
> Module "ocfs2_dlmfs": Loaded
> Filesystem "ocfs2_dlmfs": Mounted
> Checking cluster ocfs2: Offline
> root at lenaeja:~# /etc/init.d/o2cb online ocfs2
> Starting cluster ocfs2: Failed
> Cluster ocfs2 created
> o2cb_ctl: Configuration error discovered while populating cluster 
> ocfs2.  None of its nodes were considered local.  A node is considered 
> local when its node name in the configuration maches this machine's 
> host name.
> Stopping cluster ocfs2: OK
>
> root at lenaeja:~# lsmod | grep ocfs
> ocfs2_dlmfs            19592  0
> ocfs2                 306848  0
> ocfs2_dlm             134540  2 ocfs2_dlmfs,ocfs2
> ocfs2_nodemanager     133624  3 ocfs2_dlmfs,ocfs2,ocfs2_dlm
> configfs               22028  2 ocfs2_nodemanager
> jbd                    48536  2 ocfs2,ext3
> root at lenaeja:~# /etc/init.d/o2cb start
> Mounting configfs filesystem at /config: OK
> Mounting ocfs2_dlmfs filesystem at /dlm: OK
> Starting cluster ocfs2: Failed
> Cluster ocfs2 created
> o2cb_ctl: Configuration error discovered while populating cluster 
> ocfs2.  None of its nodes were considered local.  A node is considered 
> local when its node name in the configuration maches this machine's 
> host name.
> Stopping cluster ocfs2: OK
>
> when I try to mount the device with the console:
> ocfs2_hb_ctl: Unable to access cluster service while starting heartbeat
> mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: 
> "Operation not permitted"
> : Could not mount /dev/hda3
>
> when I try to add a node:
> o2cb_ctl: Unable to access cluster service while creating node
>
> Could not add node lenaeja
>
> root at lenaeja:~# cat /etc/ocfs2/cluster.conf
> cluster:
>         node_count = 0
>         name = ocfs2
>
> in the messages:
> Oct 12 11:00:23 localhost kernel: [4365348.899000] OCFS2 Node Manager 
> 1.1.2
> Oct 12 11:00:23 localhost kernel: [4365349.032000] OCFS2 DLM 1.1.1
> Oct 12 11:00:23 localhost kernel: [4365349.084000] OCFS2 DLMFS 1.1.1
> Oct 12 11:00:23 localhost kernel: [4365349.085000] OCFS2 User DLM 
> kernel interface loaded
>
> Thanks in advance!
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Ocfs2-users mailing list
>Ocfs2-users at oss.oracle.com
>http://oss.oracle.com/mailman/listinfo/ocfs2-users
>  
>


More information about the Ocfs2-users mailing list