[DRBD-user] DRBDv8 and OCFS2 PATCH...?

PToN PToNoD at gmail.com
Wed Apr 4 18:51:59 CEST 2007

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


Hello, i have setup drbd8 and ocfs2. Both nodes work fine and i am bale to
mount ocfs2 without drbd. But once i start DRBD and try to mount the drbd
devices it complaint about ocfs2_hb_ctl. After a lot of research it happens
to be that i need the patch to fix the bio_add_page().

I went to the ocfs2.git and found
http://git.kernel.org/?p=linux/kernel/git/mfasheh/ocfs2.git;a=blobdiff;f=fs/ocfs2/cluster/heartbeat.c;h=5a9779bb9236aa390a84b82abedf4276d6830c2c;hp=277ca67a2ad6ed42cb608b3892ef1b20c8d4f5cd;hb=b559292e066f6d570cd5aa5dbd41de61dd04bdce;hpb=925037bcba7691db2403684141a276930ad184f3
and created a file named "fix.diff" then i did "patch -p1 --dry-run <
/root/fix.diff" and it comes back with:
patching file fs/ocfs2/cluster/heartbeat.c
Hunk #1 FAILED at 184.
Hunk #2 FAILED at 211.
Hunk #3 FAILED at 231.
Hunk #4 FAILED at 239.
Hunk #5 FAILED at 262.
Hunk #6 FAILED at 319.
Hunk #7 FAILED at 734.
Hunk #8 FAILED at 771.
Hunk #9 FAILED at 789.
Hunk #10 FAILED at 849.
Hunk #11 FAILED at 898.
11 out of 11 hunks FAILED -- saving rejects to file
fs/ocfs2/cluster/heartbeat.c.rej

here is:
sigma6:/# uname -a
Linux sigma6 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC 2006 i686 i686
i386 GNU/Linux

Any ideas on this...? must i have 2.6.20 in order for the patch to work...?

THANKS!
-- 
View this message in context: http://www.nabble.com/DRBDv8-and-OCFS2-PATCH...--tf3526432.html#a9839162
Sent from the DRBD - User mailing list archive at Nabble.com.







More information about the drbd-user mailing list