[Ocfs2-users] CentOS-5.3 + DRBD-8.2 + OCFS2-1.4

Sunil Mushran sunil.mushran at oracle.com
Wed Jul 15 06:49:48 PDT 2009


This patch should be in ocfs2-1.4. It is not in ocfs2-1.2. Ignore the  
kernel version. Both 1.2 and 1.4 work on el5.

On Jul 15, 2009, at 3:41 AM, Kevin Clark <kevin.clark at csoft.co.uk>  
wrote:

> I've run into a problem mounting an OCFS2 filesystem on a DRBD  
> device.  I think it's the same one discussed at http://lists.linbit.com/pipermail/drbd-user/2007-April/006681.html
>
> When I try to mount the filesystem I get a ocfs2_hb_ctl: I/O error:
>
> [root at node-6A ~]# mount -t ocfs2 /dev/drbd2 /cshare
> ocfs2_hb_ctl: I/O error on channel while starting heartbeat
> mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl:  
> "Operation not permitted"
> [root at node-6A ~]#
>
> Dmesg shows:
>
> (5070,0):o2hb_setup_one_bio:409 ERROR: Error adding page to bio i =  
> 7, vec_len = 4096, len = 0
> , start = 0
> (5070,0):o2hb_read_slots:507 ERROR: status = -5
> (5070,0):o2hb_populate_slot_data:1432 ERROR: status = -5
> (5070,0):o2hb_region_dev_write:1532 ERROR: status = -5
>
> The solution recommended in 2007 was to patch the kernel.  I think  
> I've established that the OCFS2 heartbeat patch wasn't committed to  
> the Linux kernel until 2.6.20.  I think I've also established that  
> Redhat haven't backported the patch to their RHEL-5 kernel  
> (currently 2.6.18-128.2.1.el5) as there's no mention of it in the  
> changelog.
>
> Am I therefore correct to understand that either patching the  
> CentOS-5 kernel or using a 2.6.20 or upwards kernel will be required  
> to use a CentOS-5.3 + DRBD-8.2 + OCFS2-1.4 setup?
>
> Has anyone had any success applying the OCFS2 heartbeat patch to the  
> CentOS-5 2.6.18 kernel?
>
> Many thanks,
>
> Kevin Clark
> Connection Software
>
>
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users



More information about the Ocfs2-users mailing list