Re: sfs unmounts non-sfs mounted nfs mounts
David Mazieres (address expires 08 May 2005) <[email protected]> 09 Mar 2005 15:29:07 -0500
| Newsgroups | gmane.comp.file-systems.sfs.general |
|---|---|
| Message-ID | <[email protected]> |
Bernhard Ege <[email protected]> writes: > Yes, we are sure that sfscd is the reason for the untimely > unmounts. On two linux machines (fedora core 2, various kernels) > having sfscd running will unmount non-sfs mounts, those being either > mounted with automount or manually. Nothing needs to have been mounted > by sfscd (i.e. sfskey login has not been run). Again, where are your NFS directories mounted? Are you creating NFS mounts underneath /sfs, or are they mounted someplace different. Could you possibly be mounting the NFS file systems over a symbolic link that points into /sfs? > The unmount only happens when idling (idle bash) in certain > directories on the nfs mount. Also, the stale nfs handle also only > appears to affect certain directories (which seems very odd but I am > not sure about this part). 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 don't know what you mean by "the stale nfs handle also only appears to affect certain directories." Is the file system unmounted, or not? Are you saying that SFS is deleting the mount point, or that it is triggering some other weird behavior in the kernel's NFS client? > I could possibly make a trace of sfscd to see if it does anything when > idling... Trace the system calls of nfsmounter. It's the only process that makes mount and unmount system calls. David