On 08/06/2015 02:16 AM, Joseph Qi wrote:
> On 2015/8/6 13:26, Junxiao Bi wrote:
>> Hi Gang,
>>
>> On 08/06/2015 11:03 AM, Gang He wrote:
>>> Hello guys,
>>>
>>> >From the document(https://oss.oracle.com/projects/ocfs2/), it says that 
>>> >OCFS2 supports x86, x86_64, ia64 and ppc64. I am not sure that this doc is 
>>> >up-to-date, now, OCFS2 supports any other architecture? e.g. s390x?
>>> The second question, since OCFS2 is a cluster FS and support multiple 
>>> architectures, can a OCFS2 cluster work under a mixed architectures 
>>> environment? e.g. some nodes are x86, some nodes are ppc64.
>> I think ocfs2 works good on le endian, but maybe not on big endian
>> though i never test it. From the source code, kernel seemed be prepared
>> for big endian, but for tools, maybe not, i found lot of codes reading
>> stuff from disk to memory without conversion in fsck.ocfs2. I am not
>> sure about other tools, so may need do a full check.
>>
> Junxiao is right. Most tools are not taking care the endian conversion.
> They just treat them as little endian which fits x86.
> Maybe we have to do some changes for this.
>

OCFS2 supports big-endian architectures. There has been significant 
effort in making sure that it is big-endian compatible.

Though it is capable of running on mixed architectures, we do not 
recommend it.


-- 
Goldwyn

_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel

Reply via email to