Path: utzoo!yunexus!ists!mike From: mike@ists.ists.ca (Mike Clarkson) Newsgroups: comp.protocols.nfs Subject: Re: WHat is "Stale NFS handle"? Message-ID: <350@ists.ists.ca> Date: 22 Jan 89 06:59:04 GMT Article-I.D.: ists.350 References: <55699@pyramid.pyramid.com> Organization: Institute for Space and Terrestrial Science Lines: 28 In article <55699@pyramid.pyramid.com>, sas@pyrps5 (Scott Schoenthal) writes: > NB: The NFS server is stateless and does not keep track of how many > client references are active against files managed by the server. > > In the Sun UNIX port of NFS, removal of a file increments a generation > count on the inode. The generation field is encoded into the file handle > that the NFS server passes to the client in the lookup. On a related topic: If a client mounts a NFS partition read-only, then there seems to be even more caching of information on the client. If even one byte of a file on the read-only partition is changed on the server (by someone on the server), then NFS may error accessing the file, and possibly other files on that partition. My question is: is there any way to refresh the cache information short of unmounting and remounting the partition? A short little program maybe? Mike. -- Mike Clarkson mike@ists.UUCP Institute for Space and Terrestrial Science mike@ists.ists.ca York University, North York, Ontario, uunet!mnetor!yunexus!ists!mike CANADA M3J 1P3 +1 (416) 736-5611