From owner-freebsd-current Tue Nov 6 15:45:44 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail12.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id E10D337B418 for ; Tue, 6 Nov 2001 15:45:37 -0800 (PST) Received: (qmail 33056 invoked from network); 6 Nov 2001 23:45:36 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 6 Nov 2001 23:45:36 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 06 Nov 2001 15:45:36 -0800 (PST) From: John Baldwin To: John Baldwin Subject: RE: NFS locking and 4.x and 5.x Cc: current@FreeBSD.org 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 06-Nov-01 John Baldwin wrote: > > On 06-Nov-01 John Baldwin wrote: >> ===> monthly >> install -c -o root -g wheel -m 755 200.accounting 999.local >> /home/john/work/release/etc/periodic/monthly >> install -c -o root -g wheel -m 0644 /usr/src/gnu/usr.bin/send-pr/categories >> /home/john/work/release/etc/gnats/freefall >> rm -f /home/john/work/release/etc/termcap >> ln -s /usr/share/misc/termcap /home/john/work/release/etc/termcap >> rm -f /home/john/work/release/etc/rmt >> ln -s /usr/sbin/rmt /home/john/work/release/etc/rmt >> load: 0.00 cmd: pwd_mkdb 19087 [lockd] 0.00u 0.02s 0% 832k >> load: 0.00 cmd: pwd_mkdb 19087 [lockd] 0.00u 0.02s 0% 832k >> load: 0.00 cmd: pwd_mkdb 19087 [lockd] 0.00u 0.02s 0% 832k >> load: 0.00 cmd: pwd_mkdb 19087 [lockd] 0.00u 0.02s 0% 832k >> load: 0.00 cmd: pwd_mkdb 19087 [lockd] 0.00u 0.02s 0% 832k >> load: 0.00 cmd: pwd_mkdb 19087 [lockd] 0.00u 0.02s 0% 832k >> load: 0.00 cmd: pwd_mkdb 19087 [lockd] 0.00u 0.02s 0% 832k >> ^C >> ---------------------------------------- >> release started at 15:04:33 on 11/06/01 >> release died at 15:22:12 on 11/06/01 >> ---------------------------------------- >> >> Thus it seems impossible to build a 5.0 release over NFS with a 4.x client. >> Can we maybe have a mount option to disable locks on the client, or just do >> something to fix NFS please? > > Well, I tried switching to a 5.0 server, and with lockd and statd running on > both hosts, I still get the hang, so maybe this does work with 4.x in theory > there's just some magical thing I'm missing? Any ideas? It's just locking > that doesn't work, and lockd and statd are running on both hosts and > registered > with the port mapper. Hmm, nfsd looks like it is hung: 429 root 4 0 540K 284K nfsd 3 0:02 0.00% 0.00% nfsd Maybe the NFS split broke locking? Is there a knob where I can just turn the client side locking off at least? -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message