[Ocfs2-users] problem mounting ocfs2: heartbeat

Bruce Schwartz bruce.schwartz at gmail.com
Tue Jul 12 12:42:35 CDT 2005


The doc actually talks about using o2cb but that wasn't working so I
went to the manual instructions so I could break things down into
smaller steps.  In any case, I followed the instructions in your
e-mail (with the addition of adding a mkfs.ocfs2 step) and I'm still
getting the error message when I try to do the mount:

# mount -t ocfs2  /dev/hda4 /mnt
ocfs2_hb_ctl: Internal logic failure while starting heartbeat
mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl:
"Operation not permitted"

I take it this isn't something other people have seen very often...

-Bruce

On 7/12/05, Sunil Mushran <Sunil.Mushran at oracle.com> wrote:
> 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 at oss.oracle.com
> >http://oss.oracle.com/mailman/listinfo/ocfs2-users
> >
> >
> 


-- 
Bruce Schwartz
Orion Multisystems, Inc.
bruce at orionmulti.com


More information about the Ocfs2-users mailing list