we just installed OCFS 1.2.5 version on CENTOS 4.5. Two ORACLE RAC servers with shared disk in it. I create partition on disk and make it as OCFS file system. After that I mount partion on both servers. I can see OCFS file system on both servers. The wield thing are: 1. I use "vi" create "file1" on first server. 2. I use "vi" create "file2" on second server. 3. on first server. I can only see "file1" in there. same for secons server (it only see "file2"). I supposely should be see both files on either servers since they are shared file system. Does any one know why? ____________________________________________________________________________________ Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
Run the following on both nodes: # debugfs.ocfs2 -R "stats" /dev/sdX | grep UUID Does the uuid match on both the nodes. dba1 mcc wrote:> we just installed OCFS 1.2.5 version on CENTOS 4.5. > Two ORACLE RAC servers with shared disk in it. I > create partition on disk and make it as OCFS file > system. After that I mount partion on both servers. > I can see OCFS file system on both servers. The wield > thing are: > > 1. I use "vi" create "file1" on first server. > > 2. I use "vi" create "file2" on second server. > > 3. on first server. I can only see "file1" in there. > same for secons server (it only see "file2"). > > I supposely should be see both files on either servers > since they are shared file system. Does any one know > why? > > > > ____________________________________________________________________________________ > Yahoo! oneSearch: Finally, mobile search > that gives answers, not web links. > http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users >
Yes. it is same. [root@RAC2 /]# debugfs.ocfs2 -R "stats" /dev/sdb1| grep UUID UUID: AF2C5ECF6DC14875BF94D76E234AA597 [root@RAC1 ocfs01]# debugfs.ocfs2 -R "stats" /dev/sdb1| grep UUID UUID: AF2C5ECF6DC14875BF94D76E234AA597 --- Sunil Mushran <Sunil.Mushran@oracle.com> wrote:> Run the following on both nodes: > > # debugfs.ocfs2 -R "stats" /dev/sdX | grep UUID > > Does the uuid match on both the nodes. > > dba1 mcc wrote: > > we just installed OCFS 1.2.5 version on CENTOS > 4.5. > > Two ORACLE RAC servers with shared disk in it. I > > create partition on disk and make it as OCFS file > > system. After that I mount partion on both > servers. > > I can see OCFS file system on both servers. The > wield > > thing are: > > > > 1. I use "vi" create "file1" on first server. > > > > 2. I use "vi" create "file2" on second server. > > > > 3. on first server. I can only see "file1" in > there. > > same for secons server (it only see "file2"). > > > > I supposely should be see both files on either > servers > > since they are shared file system. Does any one > know > > why? > > > > > > > > >____________________________________________________________________________________> > Yahoo! oneSearch: Finally, mobile search > > that gives answers, not web links. > > >http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC> > > > _______________________________________________ > > Ocfs2-users mailing list > > Ocfs2-users@oss.oracle.com > > http://oss.oracle.com/mailman/listinfo/ocfs2-users > > > >____________________________________________________________________________________ Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
Then explore on disk. # debugfs.ocfs2 /dev/sdX Do ls and see if the files exist. Do this after issuing syncs on both nodes. What kind of shared disk are you using? dba1 mcc wrote:> Yes. it is same. > > [root@RAC2 /]# debugfs.ocfs2 -R "stats" /dev/sdb1| > grep UUID > UUID: AF2C5ECF6DC14875BF94D76E234AA597 > > [root@RAC1 ocfs01]# debugfs.ocfs2 -R "stats" > /dev/sdb1| grep UUID > UUID: AF2C5ECF6DC14875BF94D76E234AA597 > > > > --- Sunil Mushran <Sunil.Mushran@oracle.com> wrote: > > >> Run the following on both nodes: >> >> # debugfs.ocfs2 -R "stats" /dev/sdX | grep UUID >> >> Does the uuid match on both the nodes. >> >> dba1 mcc wrote: >> >>> we just installed OCFS 1.2.5 version on CENTOS >>> >> 4.5. >> >>> Two ORACLE RAC servers with shared disk in it. I >>> create partition on disk and make it as OCFS file >>> system. After that I mount partion on both >>> >> servers. >> >>> I can see OCFS file system on both servers. The >>> >> wield >> >>> thing are: >>> >>> 1. I use "vi" create "file1" on first server. >>> >>> 2. I use "vi" create "file2" on second server. >>> >>> 3. on first server. I can only see "file1" in >>> >> there. >> >>> same for secons server (it only see "file2"). >>> >>> I supposely should be see both files on either >>> >> servers >> >>> since they are shared file system. Does any one >>> >> know >> >>> why? >>> >>> >>> >>> >>> > ____________________________________________________________________________________ > >>> Yahoo! oneSearch: Finally, mobile search >>> that gives answers, not web links. >>> >>> > http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC > >>> _______________________________________________ >>> Ocfs2-users mailing list >>> Ocfs2-users@oss.oracle.com >>> http://oss.oracle.com/mailman/listinfo/ocfs2-users >>> >>> >> > > > > > ____________________________________________________________________________________ > Yahoo! oneSearch: Finally, mobile search > that gives answers, not web links. > http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC >
I had simular behavior, when - we configured the same iSCSI initiator ID on 2 servers - so each cluster conncted to the disk for 20 - 30 seconds, then was pulled out by second one server; - and so on... (server 1 -> server 2 -> server 1 -> ...) Both looked happy (except some IO delays) but they never knew about each other on the disk, and so disk changes was visible on change owner only (and of course FS was destroyed slowly). ----- Original Message ----- From: "Sunil Mushran" <Sunil.Mushran@oracle.com> To: "dba1 mcc" <mccdba1@yahoo.com> Cc: <ocfs2-users@oss.oracle.com> Sent: Thursday, July 19, 2007 3:04 PM Subject: Re: [Ocfs2-users] some wield file create issue???> Then explore on disk. > > # debugfs.ocfs2 /dev/sdX > Do ls and see if the files exist. Do this after issuing > syncs on both nodes. > > What kind of shared disk are you using? > > dba1 mcc wrote: >> Yes. it is same. >> >> [root@RAC2 /]# debugfs.ocfs2 -R "stats" /dev/sdb1| >> grep UUID >> UUID: AF2C5ECF6DC14875BF94D76E234AA597 >> >> [root@RAC1 ocfs01]# debugfs.ocfs2 -R "stats" >> /dev/sdb1| grep UUID >> UUID: AF2C5ECF6DC14875BF94D76E234AA597 >> >> >> >> --- Sunil Mushran <Sunil.Mushran@oracle.com> wrote: >> >> >>> Run the following on both nodes: >>> >>> # debugfs.ocfs2 -R "stats" /dev/sdX | grep UUID >>> >>> Does the uuid match on both the nodes. >>> >>> dba1 mcc wrote: >>> >>>> we just installed OCFS 1.2.5 version on CENTOS >>>> >>> 4.5. >>>> Two ORACLE RAC servers with shared disk in it. I >>>> create partition on disk and make it as OCFS file >>>> system. After that I mount partion on both >>>> >>> servers. >>>> I can see OCFS file system on both servers. The >>>> >>> wield >>> >>>> thing are: >>>> >>>> 1. I use "vi" create "file1" on first server. >>>> >>>> 2. I use "vi" create "file2" on second server. >>>> >>>> 3. on first server. I can only see "file1" in >>>> >>> there. >>>> same for secons server (it only see "file2"). >>>> >>>> I supposely should be see both files on either >>>> >>> servers >>> >>>> since they are shared file system. Does any one >>> know >>> >>>> why? >>>> >>>> >>>> >> ____________________________________________________________________________________ >> >>>> Yahoo! oneSearch: Finally, mobile search that gives answers, not web >>>> links. >>>> >> http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC >> >>>> _______________________________________________ >>>> Ocfs2-users mailing list >>>> Ocfs2-users@oss.oracle.com >>>> http://oss.oracle.com/mailman/listinfo/ocfs2-users >>>> >>> >> >> >> >> >> ____________________________________________________________________________________ >> Yahoo! oneSearch: Finally, mobile search that gives answers, not web >> links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC >> > > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users >