Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Nov 2001 15:45:36 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   RE: NFS locking and 4.x and 5.x
Message-ID:  <XFMail.011106154536.jhb@FreeBSD.org>
In-Reply-To: <XFMail.011106153939.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.011106154536.jhb>