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 works fine. I tried restarting all related services on both client and the server, system reboot as well, changed files as well.. nuthing fixes in this particular directory
<br><br>definately seems like some *voodoo* factor associated with a previous mount/umount session to the same path on the client :| how to get rid of that :( since directory is being used in all the code everywhere, i'd rather fix access through it then create another mount.
<br><br>thanks<br>regards<br>Kami<br><div><span class="gmail_quote">On 12/20/06, <b class="gmail_sendername">Darren Hoch</b> <<a href="mailto:darren.hoch@litemail.org">darren.hoch@litemail.org</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;">
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 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">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br></blockquote></div><br><br clear="all"><br>-- <br>Regards<br>M Kamran Nisar,