Andrea Venturoli wrote:
Werner Griessl ha scritto:

Start the rpc-lockd .
in /etc/rc.conf:
rpc_lockd_enable="YES"
then
/etc/rc.d/lockd start



On the server I have:

# cat /etc/rc.conf |grep rpc
rpcbind_enable="YES"
rpcbind_flags="-ls"
rpc_statd_enable="YES"
rpc_lockd_enable="YES"

# ps ax|grep rpc
  772  ??  Ss     0:04.55 /usr/sbin/rpcbind -ls
  835  ??  Is     0:04.66 /usr/sbin/rpc.statd
  841  ??  Ss     4:03.49 rpc.lockd: server (rpc.lockd)
  879  ??  I      0:00.00 rpc.lockd: client (rpc.lockd)



Server here is a netapp, not a FBSD, but without rpc.lockd running, I had the same problems as you.



On the client:

# cat /etc/rc.conf |grep rpc
rpcbind_enable="YES"
rpcbind_flags="-ls"
rpc_statd_enable="YES"
rpc_statd_flags="-p 918"
rpc_lockd_enable="YES"
rpc_lockd_flags="-p 868"

(Those -p are there to easy ipfw setup).

same here without the "flags"-lines
my fstab-line is with these flags:
tcp,rw,nfsv3,bg



# ps ax|grep rpc
  561  ??  Is     0:00.03 /usr/sbin/rpcbind -ls
  597  ??  Ss     0:00.00 /usr/sbin/rpc.statd -p 918
  603  ??  Ss     0:00.22 rpc.lockd: server (rpc.lockd)
  611  ??  S      0:00.40 rpc.lockd: client (rpc.lockd)


 746  ??  Ss     0:00.01 /usr/sbin/rpcbind
 787  ??  Ss     0:00.01 /usr/sbin/rpc.statd
 794  ??  Is     0:00.00 /usr/sbin/rpc.lockd

my system is:
FreeBSD 7.1-STABLE FreeBSD 7.1-STABLE #0: Fri Jan 30 i386



ipfw is not denying any of these packets.
On the server side I see a lot of these in the logs:

 rpcbind: connect from 10.1.2.18 to getport/addr(nlockmgr)



NFS lockings seems to work fine for everythings else, ranging from KDE to compiling some exotic ports.


Is there any tool I can use to debug NFS locking?


don't know of special tools for nfs-debugging,
but i would try wireshark or tcpdump.

 bye & Thanks
    av.


Werner

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to