Oh... I need to relook the doc.
All you need to do is:
1. Start the cluster using:
/etc/init.d/o2cb start
2. mount the volume:
mount -t ocfs2 /dev/sdX /dir
Do an lsmod and ensure that all modules have been unloaded
before starting the cluster. Also, run "/.../o2cb configure"
to specify your cluster name.
Other o2cb commands are "load" to just load the modules
and "online" to start the cluster. (start = load + online)
Bruce Schwartz wrote:
>When attempting to mount the OCFS2 file system I'm getting the
>following error message:
>
>ocfs2_hb_ctl: Internal logic failure while starting heartbeat
>mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl:
>"Operation not permitted"
>
>I followed the steps given in the users_guide:
> modprobe ocfs2_dlmfs
> mount -t configfs none /config
> mount -t ocfs2_dlmfs none /dlm
> o2cb_ctl -H -n OCFS2CLUSTER -t cluster -a online=yes
> mkfs.ocfs2 -b 4096 -C 4k -L DBF1 -N 1 /dev/hda4
> mount -t ocfs2 /dev/hda4 /mnt
>
>Tracking this down further it seems that the problem is somewhere
>below o2cb_create_heartbeat_regiond in o2cb_set_region_attribute. If
>I trace through "ocfs2_hb_ctl -S -d /dev/hda4" a few times in gdb
it
>eventually suceeds. But then when I the mount I get this error
>message:
> mount.ocfs2: Invalid argument while mounting /dev/hda4 on /mnt
>
>Also, I'm seeing a couple of these messages in the log:
> do_vfs_lock: VFS is out of sync with lock manager!
>But there doesn't seem to be a correlation with using OCFS2.
>
>Thanks for any help,
>Bruce
>_______________________________________________
>Ocfs2-users mailing list
>Ocfs2-users@oss.oracle.com
>http://oss.oracle.com/mailman/listinfo/ocfs2-users
>
>