[Ocfs2-users] Getting Started with ocfs2

Martin J. Evans martin.evans at easysoft.com
Wed Oct 11 07:59:45 PDT 2006


I am trying to use ocfs2 and wanted to know if anyone knew of a good getting
started guide as I'm struggling to find a one which is relevant for ocfs2. So
far I've loaded the ocfs2 kernel modules (linux) and installed the ocfs2 tools,
I managed to mkfs.ocfs2 a partition but:

1. ocfs2console errored with

Traceback (most recent call last):
  File "/usr/local/sbin/ocfs2console", line 3, in ?
    from ocfs2interface.about import process_args
ImportError: No module named ocfs2interface.about

I don't know what the correct fix for this but if I run the ocfsconsole with
PYTHONPATH=/usr/local/lib/python2.4/site-packages it works. I can see ocfstools
installed the ocfs python packages here and I don't see wht python is not
looking in the site dir.

2. Now I can run ocfs2console I run with -N to configure my noeds and just get
a dialogue saying:

Could not query the state of the cluster stack.This must be resolved before any
OCFS2 filesystemcan be mounted.

In case it makes a diference /etc/init.d/o2cb.init status shows

Module "configfs": Loaded
Filesystem "configfs": Not mounted
Module "ocfs2_nodemanager": Loaded
Module "ocfs2_dlm": Loaded
Module "ocfs2_dlmfs": Not loaded
Filesystem "ocfs2_dlmfs": Not mounted

I am using ocfs2-tools-1.2.1.

I am a bit stuck for now at this point.

Any ideas or pointers?

Martin
--
Martin J. Evans
Easysoft Ltd, UK
http://www.easysoft.com




More information about the Ocfs2-users mailing list