Re: NFS locking: lockf freezes (rpc.lockd problem?)



On Sun, 27 Aug 2006, Greg Byshenk wrote:
On Sun, Aug 27, 2006 at 11:24:13AM +0000, Michael Abbott wrote:
I've been trying to make some sense of the "NFS locking" issue. I am
trying to run
# make installworld DESTDIR=/mnt
where /mnt is an NFS mount on a FreeBSD 4.11 server, but I am unable to
get past a call to `lockf`.

I have just performed a test of what you describe, using 'smbtest'
(6.1-STABLE #17: Fri Aug 25 12:25:19 CEST 2006) as the client and
'data-2' (FreeBSD 6.1-STABLE #16: Wed Aug 9 15:38:12 CEST 2006) as the
server.
...
Which is to say that it completed successfully. Which suggests that there
is not a serious and ongoing problem.

Hm. That's a useful data point: thanks for making the test!

What about the non-interruptible sleep? Is this regarded as par for the course with NFS, or as a problem?

I know that "hard" NFS mounts are treated as completely unkillable, though why `kill -9` isn't made to work escapes me, but a locking operation which (presumably) suffers a protocol error? Or is rpc.lockd simply waiting to hear back from the (presumably broken) NFS server? Even so: `kill -9` ought to work!
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • NFS Mounts
    ... Each MX server has the same NFS mount to a netapp. ... noticed today that the NFS mounts on 2 of the MX servers is missing. ... File system kbytes used avail capacity Mounted on ...
    (SunManagers)
  • NFS server/client issue
    ... I have several FreeBSD 4.11 webservers mounting a FreeBSD 5.3-p5 NFS ... After rebooting the the NFS server the webservers automatically ... I noticed that the NFS mount acted slowly (often generating server not ... forth between high disk usage and almost none and (oddly enough, ...
    (freebsd-questions)
  • Occasional console freezing in 6.0-stable
    ... The NFS mount is connected via a GigE ... The GigE card is a re-based card, ... got repeated "server not responding" messages. ... My console at this point ...
    (freebsd-questions)
  • Re: NFS writes and ZFS
    ... server has several NFS-exported ZFS'es which I mount from the desktop. ... Since moving the shares to ZFS I've been having trouble writing to them ... NFS mount options on the desktop. ...
    (freebsd-current)
  • [HPADM] NAS/NFS file corruption issue
    ... I have a NFS mount, from filer NAS, which is equal on 2-servers. ... I copy a jar file on this mount, on one of the server, which reflexes equally on other server.. ... Mail has the best spam protection around ...
    (HP-UX-Admin)