* Re: MH anno hangs on NFS space mounted from SGI
1995-04-26 4:00 MH anno hangs on NFS space mounted from SGI George W. Sherouse, Ph.D.
@ 1995-04-28 4:00 ` James Yarbrough
1995-05-02 4:00 ` Eric Werme
1 sibling, 0 replies; 3+ messages in thread
From: James Yarbrough @ 1995-04-28 4:00 UTC (permalink / raw)
In article <SHEROUSE.95Apr26145157@shrimp.RadOnc.MUSC.EDU>, sherouse@RadOnc.MUSC.EDU (George W. Sherouse, Ph.D.) writes:
|> Smells to me like a problem with NFS mounts from SGI to DEC, perhaps
|> related to file locking. Unfortunately, this is exactly the kind of
If you suspect file and record locking as the problem, the first thing to
do is to verify that the lock daemon (lockd or rpc.lockd) and the status
monitor (statd or rpc.statd) are running on both the client (the Alpha)
and the server (the SGI).
Having verified this, there is a way on the SGI to get lockd to say some
things about what it is doing. You may do this with the following command:
killall -USR1 rpc.lockd
This sends the signal SIGUSR1 to all rpc.lockd processes (there should only
be one). As rpc.lockd is a process owned by root, you must be root to
successfully send a signal to rpc.lockd. Receipt of this signal will cause
rpc.lockd to write debugging information to /var/tmp/lockd.dbg. This may
be turned off with the following command:
killall -USR2 rpc.lockd
The appropriate steps to follow are
1. send SIGUSR1 to rpc.lockd on the SGI server
2. use tail -f /var/tmp/lockd.dbg to watch the output
3. execute the failing mh command on the client
4. when sufficient data has been collected, send SIGUSR2 to
rpc.lockd
You will see output in /var/tmp/lockd.dbg which looks something like the
following:
+++ 799091654 +++ NLM_PROG version 1 proc 7 xid 0
from fumble.foo.blah.edu pid 11278
add_mon: server "mumble.foo.blah.edu" clnt "fumble.foo.blah.edu"
enter nlmlock(10070290)
get_fd: old #12 12 inum 7775/2000010
enter local_lock...FD=12
req=10070290 cuky=82877 oh=fumb11278 svr=mumble.foo.blah.edu rel=0 lockID=0
blk=1 excl=0 type=1 baselen=1024,1024 pid=11278 ipaddr=deadbeef
fh=0200001000000005000a000000001e5f2ce3c954000a0000000001e12ce3c6d2
type=RDLCK blk start=1024 len=1024 pid=11278 ipaddr=deadbeef sysid=2 NEW
nlm_reply msg: (fumble.foo.blah.edu, 12), result = 0 (granted)
enter rel_reclock: 10070290 1
--- NLM_PROG...
Ignore everything but the following lines:
type=RDLCK blk start=1024 len=1024 pid=11278 ipaddr=deadbeef sysid=2 NEW
^^^^^
lock request type (read lock, write lock, unlock, or test)
nlm_reply msg: (fumble.foo.blah.edu, 12), result = 0 (granted)
^^^^^^^
reuest result
The result may be granted, denied, denied_nolocks, working, or deadlck.
If you get no output in /var/tmp/lockd.dbg, this means that the requests are
not being received by the server or that they are not being delivered
to the application properly. The latter would be a bug on the SGI. The former
is a problem outside the SGI (most likely).
In spite of how you think SGI might respond, if you identify a problem with
file and record locking, you should report it. Any problem identified on the
server whould have an existence independent of the application used on the
client.
--
James
jmy@lolita.engr.sgi.com
The answer is really 0.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: MH anno hangs on NFS space mounted from SGI
1995-04-26 4:00 MH anno hangs on NFS space mounted from SGI George W. Sherouse, Ph.D.
1995-04-28 4:00 ` James Yarbrough
@ 1995-05-02 4:00 ` Eric Werme
1 sibling, 0 replies; 3+ messages in thread
From: Eric Werme @ 1995-05-02 4:00 UTC (permalink / raw)
sherouse@RadOnc.MUSC.EDU (George W. Sherouse, Ph.D.) writes:
>The situation:
> So now the Alpha mounts the user
>directories using NFS. Since the change, anno goes into a suspended
>state every time it is invoked by mh-e or xmh.
>Smells to me like a problem with NFS mounts from SGI to DEC, perhaps
>related to file locking. Unfortunately, this is exactly the kind of
>bug that neither SGI nor DEC is gonna help squash ("We don't support
>MH."). Anybody got a clue?
Our problem report machine lost a disk, so I can't check today, but
I don't think we've seen a bug report. We do fix mh problems. Well,
some of them.
What version of NFS are you using? If you have OSF/1 V3.0 or higher
and Irix 5.3 you're probably using NFS V3 (the mount command on OSF
will tell you). If that's the case, try NFS V2 (mount with -o nfsv2).
SGI forgot to implement Network Lock Manager Protocol V4, which is
required for NFS V3. (I.e. file locking doesn't work if SGI and
NFS V3 is involved.)
--
Eric (Ric) Werme | werme@zk3.dec.com
Digital Equipment Corp. | This space intentionally left blank.
^ permalink raw reply [flat|nested] 3+ messages in thread