[DRBD-user] DRBD 82 Primary / Primary with OCFS2

Ilo Lorusso sneak147 at gmail.com
Tue Oct 21 20:36:59 CEST 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


I enabled the module myself..in the kernel then recompiled the RPM as
it has no support for OCFS2,

and now after you telling me about the  OCFS2 modules from
oss.oracle.com I overwrite the centos ones manually

example. copy all the files from

/lib/modules/2.6.18-92.1.10.el5xen/kernel/fs/ocfs2/
to
/lib/modules/2.6.18-92.1.10.el5.centos.plusxen/kernel/fs/ocfs2

and got it to mount..:) tx

one question though ? when I run /etc/init.d/o2cd online
i find the following error in my logs
modprobe: FATAL: Module ocfs2_stackglue not found  ??? any Idea? where
that module is from?


On Tue, Oct 21, 2008 at 7:51 PM, David Coulson <david at davidcoulson.net> wrote:
> Where did you get the OCFS2 code for that kernel, or do CentOS add it for
> you? I typically use the OCFS2 code from oss.oracle.com, and it patches that
> cleanly.
>
> Either way, this isn't anything to do with DRBD - End of thread.
>
> Ilo Lorusso wrote:
>>
>> when I patch my kernel I get the following output ..
>>
>> patching file fs/ocfs2/cluster/heartbeat.c
>> Hunk #1 succeeded at 182 (offset -107 lines).
>> Hunk #3 succeeded at 229 (offset -107 lines).
>> Hunk #4 FAILED at 237.
>> Hunk #5 FAILED at 258.
>> Hunk #6 FAILED at 267.
>> Hunk #7 succeeded at 423 with fuzz 2 (offset -19 lines).
>> Hunk #8 FAILED at 434.
>> Hunk #9 FAILED at 727.
>> Hunk #10 succeeded at 750 with fuzz 2 (offset -108 lines).
>> Hunk #11 succeeded at 876 (offset -20 lines).
>> Hunk #12 FAILED at 898.
>> Hunk #13 succeeded at 866 (offset -112 lines).
>> Hunk #14 succeeded at 1007 (offset -22 lines).
>> 6 out of 14 hunks FAILED -- saving rejects to file
>> fs/ocfs2/cluster/heartbeat.c.rej
>>
>> Note im patching a linux-2.6.18 CentOS XEN kernel...
>>
>> is there any specific version that patch is for? or am I okay with
>> those hunk Failures?
>>
>>
>> On Tue, Oct 21, 2008 at 5:20 PM, David Coulson <david at davidcoulson.net>
>> wrote:
>>
>>>
>>> http://oss.oracle.com/bugzilla/attachment.cgi?id=565
>>>
>>> Ilo Lorusso wrote:
>>>
>>>>
>>>> Hi,
>>>>
>>>> i've just format my drbd partions using mkfs.ocfs2 /dev/drbd1 which
>>>> works perfectly..
>>>>
>>>>
>>>> Now when I try mount my /dev/drbd1 partition using the following
>>>> command:
>>>>
>>>> mount.ocfs2 /dev/drbd1 /home
>>>>
>>>> I get the following errors..
>>>>
>>>> mount.ocfs2: I/O error on channel while trying to join the group
>>>>
>>>> and in the /var/log/messages
>>>>
>>>>
>>>> Oct 21 18:59:56 hordepri kernel: (6654,0):o2hb_setup_one_bio:290
>>>> ERROR: Error adding page to bio i = 7, vec_len = 4096, len = 0
>>>> Oct 21 18:59:56 hordepri kernel: , start = 0
>>>> Oct 21 18:59:56 hordepri kernel: (6654,0):o2hb_read_slots:385 ERROR:
>>>> status = -5
>>>> Oct 21 18:59:56 hordepri kernel: (6654,0):o2hb_populate_slot_data:1299
>>>> ERROR: status = -5
>>>> Oct 21 18:59:56 hordepri kernel: (6654,0):o2hb_region_dev_write:1399
>>>> ERROR: status = -5
>>>>
>>>>
>>>>
>>>> I read in the mailling list that I need to patch ocfs2 as it does some
>>>> does some "illegal" things ..
>>>> does this patch still apply to drbd82-8.2.6 and where can I find it?
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Ilo Lorusso.
>>>> _______________________________________________
>>>> drbd-user mailing list
>>>> drbd-user at lists.linbit.com
>>>> http://lists.linbit.com/mailman/listinfo/drbd-user
>>>>
>>>>
>



More information about the drbd-user mailing list