Re: sfs unmounts non-sfs mounted nfs mounts

Bernhard Mogens Ege <[email protected]> Thu, 10 Mar 2005 17:04:56 +0100
Newsgroups gmane.comp.file-systems.sfs.general
Message-ID <[email protected]>
>>>>> "David" == David Mazieres <(address expires 08 May 2005) <[email protected]>> writes:

> Is there any syslog output of sfs when the output happens.  Usually
> SFS prints something to the log when it unmounts a file system.

> Note that automount will also periodically unmount file systems.  Thus
> how to you know that sfs is unmounting the file systems, as opposed to
> automount?  It could be that sfs is just doing something that causes
> automount to unmount file systems.

I have now had a chance to look a little more on the problem and I was
wrong about sfscd causing the NFS trouble. It is actually sfssd that
is doing it, or rather, the sfsrwsd. I had sfssd started (sfscd was
not started) and a bash that idles on a NFS-path. After a few minutes,
a ls would give:

ls: .: Stale NFS file handle

I had prior to this put an strace on sfssd, rexd, sfsauthd and
sfsrwsd. I also verified that ls could list the contents of the NFS
path. Then I waited. After a few minutes I tried ls again and got the
stale NFS file handle and the strace on sfsrwsd had produced
considerable output (sfsauthd only a little and seemed
non-relevant). I don't know what to look for in the output, though,
and I can't really get any closer.

/var/log/messages didn't receive any messages during the test.

I can mail you the contents of the strace from sfsrwsd if you want. I
don't have the start of the strace as I attached to a running process.

Bernhard