From owner-freebsd-stable@FreeBSD.ORG Sun Aug 27 18:38:58 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FEAE16A4DA for ; Sun, 27 Aug 2006 18:38:58 +0000 (UTC) (envelope-from michael@araneidae.co.uk) Received: from mail.araneidae.co.uk (araneidae.co.uk [62.3.233.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9034043D4C for ; Sun, 27 Aug 2006 18:38:57 +0000 (GMT) (envelope-from michael@araneidae.co.uk) Received: from saturn.araneidae.co.uk (localhost [127.0.0.1]) by mail.araneidae.co.uk (8.13.1/8.13.1) with ESMTP id k7RIct7P052390; Sun, 27 Aug 2006 18:38:55 GMT (envelope-from michael@araneidae.co.uk) Received: from localhost (michael@localhost) by saturn.araneidae.co.uk (8.13.1/8.13.1/Submit) with ESMTP id k7RIcsRr052387; Sun, 27 Aug 2006 18:38:54 GMT (envelope-from michael@araneidae.co.uk) X-Authentication-Warning: saturn.araneidae.co.uk: michael owned process doing -bs Date: Sun, 27 Aug 2006 18:38:54 +0000 (GMT) From: Michael Abbott To: Greg Byshenk In-Reply-To: <20060827130758.GO633@core.byshenk.net> Message-ID: <20060827131143.A49701@saturn.araneidae.co.uk> References: <20060827102135.B49194@saturn.araneidae.co.uk> <20060827130758.GO633@core.byshenk.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: NFS locking: lockf freezes (rpc.lockd problem?) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2006 18:38:58 -0000 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!