lock problem: nfs server on FreeBSD 7-stable, client on linux

Rong-en Fan grafan at gmail.com
Sun Apr 6 06:05:48 UTC 2008


On Sun, Apr 6, 2008 at 1:18 PM, Tz-Huan Huang <tzhuan at csie.org> wrote:
> Hi,
>
>  Thanks for your suggestion, but we don't accept this workaround.
>
>  After doing binary searching, I find that this commit break the working lockd:
>
>   http://lists.freebsd.org/pipermail/cvs-src/2008-March/089037.html
>
>  I have rolled back the lockd.c to 1.20 in our nfs server and it works
>  fine as before.

Add dfr@ to CC list.

I'm curious about this change, could you check what socket bind by
rpc.lockd and rpc.statd before and after lockd. rev 1.21+1.22 changes?

Thanks,
Rong-En Fan

>  On Thu, Apr 3, 2008 at 1:02 AM, Ken Chen <ken73.chen at gmail.com> wrote:
>  > I have the similar problem when FreeBSD 7 client + FreeBSD 6 server.
>  >
>  >  Now, I use ' mount_nfs -L' on the client to do local locking only. Of
>  >  course, it may cause other problem.
>  >
>  >
>  >  2008/4/2, Tz-Huan Huang <tzhuan at csie.org>:
>  >
>  >
>  > >
>  >  > Hi,
>  >  >
>  >  > We have one nfs server (Mar 27's 7-stable, AMD64) and many clients.
>  >  > One of the client is also 7-stable(Mar 30's, i386), and others are Debian
>  >  > Linux. The problem is that the fcntl lock works fine on FreeBSD client
>  >  > but not on linux ones.
>  >  >
>  >  > We have tested the linux server + linux client, and they works fine.
>  >  > The following is all the combination we have tried:
>  >  >
>  >  > FreeBSD server + FreeBSD client: ok
>  >  > FreeBSd server + Linux clinet: fail
>  >  > Linux server + Linux client: ok
>  >  > Linux server + FreeBSD client: ok
>  >  >
>  >  > Is there some issue with 7-stable 's rpc.lockd?
>  >  > More information will be available if necessary, thanks.
>  >  >
>  >  > Tz-Huan
>  >  > _______________________________________________
>  >  > freebsd-stable at freebsd.org mailing list
>  >  > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>  >  > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>  >  >
>  >  _______________________________________________
>  >  freebsd-stable at freebsd.org mailing list
>  >  http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>  >  To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>  >
>  _______________________________________________
>  freebsd-stable at freebsd.org mailing list
>  http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>  To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>


More information about the freebsd-stable mailing list