From: Gavin Hamill <gdh@acentral.co.uk>
To: nfs@lists.sourceforge.net
Subject: Re: lockd / statd fun (sorry)
Date: Tue, 27 Apr 2004 14:43:43 +0100 [thread overview]
Message-ID: <20040427134343.GB1330@acentral.co.uk> (raw)
In-Reply-To: <20040423115702.GQ3491@suse.de>
On Fri, Apr 23, 2004 at 01:57:04PM +0200, Olaf Kirch wrote:
> On Fri, Apr 23, 2004 at 12:48:30PM +0100, Gavin Hamill wrote:
> > OK, I did see your message in the archives, but wasn't sure that it was
> > relevant here (I'm getting error -13 when you got -5) but I'm game for a
> > laugh :)
>
> 13 is EACCESS, and is probably returned by statd. So I would say you
> are able to talk to statd, only there's something wrong with the setup.
>
> statd wants the following files available and writable:
>
> /var/lib/nfs/state (at start-up only; to store seq# number)
> /var/lib/nfs/sm to store the NFS peer's address
> /var/lib/nfs/sm.bak (at start-up only; for lock recovery)
OK, I'm assuming here that statd is only run by the machine running nfsd and
exporting filesystems, and /usr/sbin/rpc.statd is definately in the process list
Moving onto the files in /var/lib, everything seems to be in order, but I never see any
files written to /var/lib/nfs/sm.
statd is running as root, and here's the structure of /var/lib/nfs:
drwxr-xr-x 4 root root 4096 Apr 27 11:05 nfs
mop:/var/lib# ls -lR nfs/
nfs/:
total 24
-rw-r--r-- 1 root root 614 Apr 27 11:05 etab
-rw-r--r-- 1 root root 68 Apr 27 13:49 rmtab
drwxr-xr-x 2 root root 4096 Jul 9 2003 sm
drwxr-xr-x 2 root root 4096 Jul 9 2003 sm.bak
-rw------- 1 root root 4 Apr 27 10:42 state
-rw-r--r-- 1 root root 288 Apr 27 11:10 xtab
nfs/sm:
total 0
nfs/sm.bak:
total 0
mop:/var/lib#
There is nothing in the log for 'statd' other than
Apr 27 10:42:53 mop rpc.statd[478]: Version 1.0 Starting
This is not a life-or-death issue because the network is working,
but this is functonality that shoudl work, and it's bugging me :)
As always, any advice warmly received!
Cheers,
Gavin
-------------------------------------------------------
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
next prev parent reply other threads:[~2004-04-27 13:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040427134343.GB1330@acentral.co.uk \
--to=gdh@acentral.co.uk \
--cc=nfs@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.