* NFS export ... again
@ 2004-04-16 7:05 fabian.frederick
2004-04-16 16:18 ` Trond Myklebust
0 siblings, 1 reply; 2+ messages in thread
From: fabian.frederick @ 2004-04-16 7:05 UTC (permalink / raw)
To: linux-kernel
Trond, Chris,
AFAICS, nfsd/export code already does some nfs cache poll through RPC to generate /proc/nfs/exports .... But content appears broken to me as it relates progressive mounting points but never umounts.We only have to fix this in my opinion ... or maybe I'm lured by multi-versioning there ...
Regards,
Fabian
___________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: NFS export ... again
2004-04-16 7:05 NFS export ... again fabian.frederick
@ 2004-04-16 16:18 ` Trond Myklebust
0 siblings, 0 replies; 2+ messages in thread
From: Trond Myklebust @ 2004-04-16 16:18 UTC (permalink / raw)
To: fabian.frederick; +Cc: linux-kernel
On Fri, 2004-04-16 at 00:05, fabian.frederick@prov-liege.be wrote:
> Trond, Chris,
>
> AFAICS, nfsd/export code already does some nfs cache poll through RPC to generate /proc/nfs/exports .... But content appears broken to me as it relates progressive mounting points but never umounts.We only have to fix this in my opinion ... or maybe I'm lured by multi-versioning there ...
/proc/nfs/exports is a server-side thing, and just reflects the kernel's
cache of currently exported filesystems. It is controlled by mountd by
means of a syscall...
I don't see what you are getting at here. There is no such thing as a
reliable way of ensuring that the server has a fully uptodate list of
all clients that are currently mounting a filesystem: Clients can and do
crash. When they do, they will fail to send a "umount" call to the
server. When that happens, the reference count in /var/lib/nfs/rmtab
will be wrong, and so all these lists from /proc/fs/nfs/exports to
"showmount" will show clients that are no longer there.
Just don't rely on that information: it will never be completely
correct.
Cheers,
Trond
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-16 16:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-16 7:05 NFS export ... again fabian.frederick
2004-04-16 16:18 ` Trond Myklebust
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®