[Ocfs2-users] 1.2.6 compile failures

Jordi Prats jprats at cesca.es
Wed Jun 27 14:45:35 PDT 2007


No, I've just downloaded it:

[root at urani opt]# tar xzf ocfs2-1.2.6.tar.gz
[root at urani opt]# cd ocfs2-1.2.6
[root at urani 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
(...)

[root at urani 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
>>>> Ocfs2-users at oss.oracle.com
>>>> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>>>>         
>>> _______________________________________________
>>> Ocfs2-users mailing list
>>> Ocfs2-users at oss.oracle.com
>>> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>>>
>>>
>>>     
>>
>>   
> 
> 
> 

-- 
......................................................................
        __
       / /          Jordi Prats Català
 C E / S / C A      Departament de Sistemes
     /_/            Centre de Supercomputació de Catalunya

 Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona
 T. 93 205 6464 · F.  93 205 6979 · jprats at cesca.es
......................................................................
pgp:0x5D0D1321
......................................................................



More information about the Ocfs2-users mailing list