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
John Peeken, Linux OS Support
2006-Oct-11 08:18 UTC
[Ocfs2-users] Getting Started with ocfs2
Martin, http://oss.oracle.com/projects/ocfs2/documentation/ See the OCFS2 FAQ and the users guide. Follow the steps on OC2B Cluster Service Loading regards, John Peeken Linux OS Support Martin J. Evans wrote:>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 > > >_______________________________________________ >Ocfs2-users mailing list >Ocfs2-users@oss.oracle.com >http://oss.oracle.com/mailman/listinfo/ocfs2-users > >