[Ocfs2-users] Replication not works

Marcos E. Matsunaga Marcos.Matsunaga at oracle.com
Mon Aug 13 19:36:55 PDT 2007


Yohan,

Can you run the commands below on the device you're trying to mount on
both nodes? If possible, format the partition before running them.

# debugfs.ocfs2 -R "stats" /dev/sdXX |grep UUID:
# debugfs.ocfs2 -R "stats" /dev/sdXX |grep Slots:
# debugfs.ocfs2 -R "slotmap" /dev/sdXX

Also, make sure you have the same /etc/ocfs2/cluster.conf and
/etc/sysconfig/o2cb on both nodes (copy from t1 to t2 to make sure they
are exactly the same).

Can you try the following:

# /etc/init.d/o2cb online
# mount /dev/sdXX <mountpoint>

If it fail, please, copy about 10 lines before first ocfs2 message from
/var/log/messages from both nodes and send it to me.

Yohan wrote:
> Randy Ramsdell a �crit :
>> Yohan wrote:
>>  
>>> telnet t1 7777 from t2 => error , normal (
>>> (3091,0):o2net_accept_one:1709 unexpected connect attempted from a
>>> lower numbered node 't2' at 172.20.245.232:57991 with num 3 )
>>>     
>> This looks normal, but I did not understand why the "node number "  is
>> 3. I used node numbers (0,1,2,3,4,5) in order.
>>   
> It was one of my tests...
>>> telnet t2 7777 from t1 => error on the debug logs :
>>> (2968,3):o2hb_check_node_heartbeating_from_callback:1837 node (6) does
>>> not have heartbeating enabled.
>>> (2968,3):o2net_accept_one:1720 attempt to connect from node 't1' at
>>> 172.20.245.231:42944 but it isn't heartbeating
>>>
>>> I think there are the problem but i can't understand why... ?
>>>     
>> This is the kicker or real issue.
>>
>> A stab in the dark. Change the cluster.conf and put the nodes in order
>> and starting from zero. So your nodes will be (0,1). After that I really
>> don't know. The devs really need to  come into this.
>>   
> I redo that, but nothing change....
>
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users

-- 

Regards,

Marcos Eduardo Matsunaga

Oracle USA
Linux Engineering



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20070813/e5188ec6/attachment.html


More information about the Ocfs2-users mailing list