The patches are for the mainline kernels.
1.2.6 already has those fixes.
What are you trying to do?
Jordi Prats wrote:
No, I've just downloaded it:
[EMAIL PROTECTED] opt]# tar xzf ocfs2-1.2.6.tar.gz
[EMAIL PROTECTED] opt]# cd ocfs2-1.2.6
[EMAIL PROTECTED] ocfs2-1.2.6]# patch -p1 <
../ocfs2_2.6.20_fixes-20070502-1.patch
patching file fs/ocfs2/cluster/quorum.c
Reversed (or previously applied) patch detected! Assume -R? [n]
Anyway, I've found a already compiled version, so I loaded it and
installed scripts:
# lsmod
(...)
ocfs2_dlmfs 22217 1
ocfs2_dlm 113477 1 ocfs2_dlmfs
ocfs2_nodemanager 127969 2 ocfs2_dlmfs,ocfs2_dlm
(...)
[EMAIL PROTECTED] cluster]# mount
/dev/sda1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
none on /sys/kernel/config type configfs (rw)
ocfs2_dlmfs on /dlm type ocfs2_dlmfs (rw)
I've formated my device:
mkfs.ocfs2 /dev/data/tdx
But I'm getting this error:
ocfs2_hb_ctl: Unable to access cluster service while starting heartbeat
mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: "Operation
not permitted"
There isn't any good installation guide? All I've found googling are
incomplete
Thanks!
Jordi
Sunil Mushran wrote:
Are you applying that patch to a plain 2.6.20?
Or, did you apply ocfs2_2.6.20_fixes-20070502-1.patch
before applying ocfs2_2.6.20_fixes-20070220-1.patch.
The 0502 patch includes the changes in 0220.
Jordi Prats wrote:
Hi,
I'm getting the same error on a 2.6.20 kernel. If I apply this backports
it gives me this message:
patch -p1 < ../ocfs2_2.6.20_fixes-20070220-1.patch
patching file fs/ocfs2/cluster/tcp.c
Reversed (or previously applied) patch detected! Assume -R? [n]
What sould I do?
Thanks,
Jordi
Sunil Mushran wrote:
To add to that, all bugfixes are applied to both the 1.2 and the
mainline trees.
For older mainline kernels, patch fixes are available here.
http://www.kernel.org/pub/linux/kernel/people/mfasheh/ocfs2/backports/
E. de Ruiter wrote:
Ah, that makes sense .. thanks.
nirmal tom wrote:
hi,
if u use the mainline version included in the kernel by default,u will
not have the oracle specific options like datavolume.The are available
only in 1.2.x series.Similarly,new developments in ocfs2 will be in
mainline version and not in 1.2 series.It is likely to get errors if
we try to compile ocfs2 1.2 series against latest kernel releases as u
try to compile ocfs2 designed for old standard kernel releases against
new ones
regards,
Nirmal Tom.
_______________________________________________
Ocfs2-users mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-users
_______________________________________________
Ocfs2-users mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-users
_______________________________________________
Ocfs2-users mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-users