From owner-freebsd-current Mon Mar 17 13:21:22 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2701037B401 for ; Mon, 17 Mar 2003 13:21:21 -0800 (PST) Received: from mail.allcaps.org (allcaps.org [216.240.173.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78E5443F93 for ; Mon, 17 Mar 2003 13:21:20 -0800 (PST) (envelope-from bsder@allcaps.org) Received: from mail.allcaps.org (localhost [127.0.0.1]) by mail.allcaps.org (Postfix) with ESMTP id 8297092FAF; Mon, 17 Mar 2003 16:21:20 -0500 (EST) Received: from localhost (bsder@localhost) by mail.allcaps.org (8.12.5/8.12.5/Submit) with ESMTP id h2HLLKCe015879; Mon, 17 Mar 2003 13:21:20 -0800 X-Authentication-Warning: mail.allcaps.org: bsder owned process doing -bs Date: Mon, 17 Mar 2003 13:21:19 -0800 (PST) From: "Andrew P. Lentvorski, Jr." To: Steve Sizemore Cc: Dan Nelson , Subject: Re: NFS file unlocking problem In-Reply-To: <20030317060018.GA45288@math.berkeley.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 16 Mar 2003, Steve Sizemore wrote: > Sorry - I was trying to be too helpful. I actually did capture the raw > dump but appended the decoded output. This time, I've attached a > real raw dump. The dump doesn't seem to be attached. However, I note that the request being sent is SETLKW which is a blocking wait until lock is granted. If the server thinks the file is already locked, it will hang *and* that is the proper behavior. What is the result of running this locally on the NFS server and attempting to lock the underlying file? If rpc.lockd is hanging onto a lock, running that perl script locally on the actual file (not an NFS mounted image of it) should also hang. As a side note, you probably want to create a C executable to do this kind of fcntl fiddling when attempting to test NFS. That way you can use a locally mounted binary and you won't wind up with all of the Perl access calls on the NFS wire. Or, at least, use a local copy of Perl. -a To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message