Linux NFS development
 help / color / mirror / Atom feed
* lockd / statd fun (sorry)
@ 2004-04-23 10:37 Gavin Hamill
  2004-04-23 11:32 ` Bernd Schubert
  0 siblings, 1 reply; 10+ messages in thread
From: Gavin Hamill @ 2004-04-23 10:37 UTC (permalink / raw)
  To: nfs

Hullo,

I'm afraid I have to dredge up old ground here...

I'm running about 30 diskless workstations PXE-booting to an NFS-root and 
NFS-homedir with NIS logins, and the workstations are regularly getting the 
familiar

Apr 23 11:17:18 10.0.0.13 kernel: nsm_mon_unmon: rpc failed, status=-13
Apr 23 11:17:18 10.0.0.13 kernel: lockd: cannot monitor 10.0.0.253
Apr 23 11:17:18 10.0.0.13 kernel: lockd: failed to monitor 10.0.0.253
Apr 23 11:17:18 10.0.0.13 kernel: nsm_mon_unmon: rpc failed, status=-13
Apr 23 11:17:18 10.0.0.13 kernel: lockd: cannot monitor 10.0.0.253

kernel messages. Now, I've read as much as I can on the topic, and I have made 
sure that both statd and lockd are running on both the client and the server.

The machines have generally worked well, but OpenOffice.org's setup seems to 
require locking, and the messages have increasingly irritated me, so I need 
to turn to the oracles on such matters :)

I'm using kernel-mode NFS server on both the physical server and the 
workstations... On the server, I see 

10714 ?        S      0:00 /sbin/rpc.statd
10733 ?        SW     0:00 [lockd]
10734 ?        SW     0:00  \_ [rpciod]

and on the clients I see the same (from memory - I can't access them via SSH 
from here). Clients are using a 2.4.22 kernel and the server is on 2.4.24.

I checked the manpage for statd, and was interested by the /var/lib/nfs/sm 
directory - on the server, this directory is completely empty, 
and /var/lib/nfs/state contains only 4 bytes: 001d 0000  - does this sound 
normal?

/etc/hosts.allow was always blank , but today I tried the advice I found in 
another mailing list posting, to add 

statd: 10.0.0.

I then restarted nfs-common (rpc.statd) and nfs-kernel-server (rpc.nfsd and 
rpc.mountd) with logs thusly:

Apr 23 11:06:26 10.0.0.9 kernel: nsm_mon_unmon: rpc failed, status=-13
Apr 23 11:06:26 10.0.0.9 kernel: lockd: cannot monitor 10.0.0.253
Apr 23 11:06:26 10.0.0.9 kernel: lockd: failed to monitor 10.0.0.253
Apr 23 11:06:40 fon kernel: nfsd: last server has exited
Apr 23 11:06:40 fon kernel: nfsd: unexporting all filesystems
Apr 23 11:06:42 10.0.0.24 kernel: nfs: server 10.0.0.253 not responding, still 
trying
Apr 23 11:06:43 10.0.0.19 kernel: nfs: server 10.0.0.253 not responding, still 
trying
Apr 23 11:06:43 10.0.0.9 kernel: nfs: server 10.0.0.253 not responding, still 
Apr 23 11:06:45 10.0.0.19 kernel: nfs: server 10.0.0.253 OK
Apr 23 11:06:56 10.0.0.19 kernel: nsm_mon_unmon: rpc failed, status=-13
Apr 23 11:06:56 10.0.0.19 kernel: lockd: cannot monitor 10.0.0.253
Apr 23 11:06:56 10.0.0.19 kernel: lockd: failed to monitor 10.0.0.253

i.e. nothing's changed :(

Should the /var/lib/nfs be in use for the clients, too? My boot-sequence is 
based on KNOPPIX and uses an initrd to symlink much of the filesystem to a 
ramdisk, so I'm a bit concerned I might have messed up the permissions here.

Any advice warmly welcomed.

Cheers,
Gavin.
P.S. Olaf Kirch's "statd simplified" looks very interesting! :))


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-04-27 18:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-23 10:37 lockd / statd fun (sorry) Gavin Hamill
2004-04-23 11:32 ` Bernd Schubert
2004-04-23 11:48   ` Gavin Hamill
2004-04-23 11:57     ` Olaf Kirch
2004-04-27 13:43       ` Gavin Hamill
2004-04-27 15:32         ` Olaf Kirch
2004-04-27 15:47           ` Gavin Hamill
2004-04-27 15:56             ` Olaf Kirch
2004-04-27 16:49             ` Trond Myklebust
2004-04-27 18:15               ` Gavin Hamill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox