hi,<br>when I forced an artifical failure of the primary, then while accesing the secondary <new primary>, i got the error..<br>{the take over had been succusfull and the secondary had become primar, and the device mounted}
<br><br>flock File_name echo "locked"<br>flock: No locks available<br><br><br>regards<br><br><br><div><span class="gmail_quote">On 12/23/06, <b class="gmail_sendername">Kamran Nisar</b> <<a href="mailto:mkamrannisar@gmail.com">
mkamrannisar@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hi, the nfs options are as below<br>/data/export/
<a href="http://192.168.0.0/255.255.0.0%28rw,no_root_squash,no_all_squash,sync%29" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.0.0/255.255.0.0(rw,no_root_squash,no_all_squash,sync)</a><br>
<br>regards<div><span class="e" id="q_10fae3715117ac25_1"><br><br><br><div>
<span class="gmail_quote">On 12/22/06, <b class="gmail_sendername">KOZMAN Balint</b> <<a href="mailto:bkozman@imind.hu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bkozman@imind.hu</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>What are your nfs client mount options? Like soft, nolock, etc.<br><br><br>Balint<br><br><br>On Thu, 21 Dec 2006, Kamran Nisar wrote:<br><br>> hi<br>> sorry my bad.. the part where I say mounting it in a different path works,
<br>> was bogus. It turned out my admin mounted another share and mistook it for<br>> the same drbd-nfs one...<br>><br>> so the problem still holds...<br>><br>> drdb-nfs mounted on a client is giving me Stale handler error while
<br>> obtaining lock :(<br>><br>><br>> regards<br>><br>> On 12/20/06, Kamran Nisar <<a href="mailto:mkamrannisar@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mkamrannisar@gmail.com
</a>> wrote:<br>> ><br>> > HI,<br>> > Using Suse with kernel version
2.6.16.<br>> > strangely enough, if i mount the nfs share in a different path, then it<br>> > works fine. I tried restarting all related services on both client and the<br>> > server, system reboot as well, changed files as well.. nuthing fixes in this
<br>> > particular directory<br>> ><br>> > definately seems like some *voodoo* factor associated with a previous<br>> > mount/umount session to the same path on the client :| how to get rid of<br>
> > that :( since directory is being used in all the code everywhere, i'd rather<br>> > fix access through it then create another mount.<br>> ><br>> > thanks<br>> > regards<br>> > Kami
<br>> > On 12/20/06, Darren Hoch <<a href="mailto:darren.hoch@litemail.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">darren.hoch@litemail.org</a>> wrote:<br>> > ><br>> > > Kamran,
<br>> > ><br>> > > This is purely NFS and not DRBD. What OS and kernel version? There are
<br>> > > some flock() issues in RedHat EL 3.x and associated Fedora branches that<br>> > > were fixed between minor releases.<br>> > ><br>> > > Darren<br>> > ><br>> > >
<br>> > > Lars Ellenberg wrote:<br>> > ><br>> > > >/ 2006-12-20 17:59:10 +0500<br>> > > >\ Kamran Nisar:<br>> > > ><br>> > > ><br>> > > >>HI,
<br>> > > >>I have my primary device mounted on client as an nfs share. an attempt<br>> > > to<br>> > > >>obtain and exclusive lock over a file fails with the following error<br>> > > >>
<br>> > > >>nagios-ffm:/data # touch test<br>> > > >>nagios-ffm:/data # flock test echo "itWorks"<br>> > > >>flock: Stale NFS file handle<br>> > > >><br>
> > > >><br>> > > ><br>> > > >works for me.<br>> > > >so this is not per se a drbd problem.<br>> > > >more likely some nfs woodoo.<br>> > > ><br>
> > > >
<br>> > > ><br>> > ><br>> > > _______________________________________________<br>> > > drbd-user mailing list<br>> > > <a href="mailto:drbd-user@lists.linbit.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
drbd-user@lists.linbit.com
</a><br>> > > <a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>> > >
<br>> ><br>> ><br>> ><br>> > --<br>> > Regards
<br>> > M Kamran Nisar,<br>><br>><br>><br>><br>> --<br>> Regards<br>> M Kamran Nisar,<br>><br><br><br></blockquote></div><br><br clear="all"><br></span></div><span class="sg">-- <br>Regards<br>
M Kamran Nisar,
</span></blockquote></div><br><br clear="all"><br>-- <br>Regards<br>M Kamran Nisar,