[Ocfs2-users] problem mounting ocfs2: heartbeat

Bruce Schwartz bruce.schwartz at gmail.com
Tue Jul 12 11:37:23 CDT 2005


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


More information about the Ocfs2-users mailing list