home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.protocols.nfs:3079 comp.unix.internals:2109 comp.unix.wizards:5402 comp.arch.storage:909
- Newsgroups: comp.protocols.nfs,comp.unix.internals,comp.unix.wizards,comp.arch.storage
- Path: sparky!uunet!cs.utexas.edu!torn!newshub.ccs.yorku.ca!yorku.ca!davecb
- From: davecb@nexus.yorku.ca (David Collier-Brown)
- Subject: Re: duplicate files in NFS directory under heavy load?
- Message-ID: <davecb.726758667@yorku.ca>
- Sender: news@newshub.ccs.yorku.ca (USENET News System)
- Organization: York University
- References: <1993Jan10.052211.7018@siswat.hou.tx.us> <un9r06k@rhyolite.wpd.sgi.com>
- Date: Mon, 11 Jan 1993 13:24:27 GMT
- Lines: 32
-
- vjs@rhyolite.wpd.sgi.com (Vernon Schryver) writes:
-
- |In article <1993Jan10.052211.7018@siswat.hou.tx.us>, buck@siswat.hou.tx.us (Lester Buck) writes:
- |> Recently I was told that it is possible, though rare, for typical
- |> implementations of NFS servers to return the same entry twice in the ls
- |> command. ....
-
- This is noticable when doing a ``rename(2v)'' on a systems which
- does not give the appearance of atomaticity. This is easy to demonstrate
- on an overloaded sun3 (:-))
- With FFS, you say ``mv foo bar'' and for a brief period there is an entry for
- both foo and bar: the creation of bar is atomic, but the deletion of foo
- only appears atomic to the caller. Other processes reading the directory
- can aften see both foo abd bar for a brief period over NFS.
-
- This is only true of **some** ffs implementations: it's easy to make the
- whole process appear atomic, as a performance cost. (And yes, I think SGI's
- file system avoided the disfeature)
-
-
- |> Does anyone have any experience with this? Is this behaviour considered
- |> acceptable as long as it is rare?
-
- No, but it wasn't expected and so wasn't dealt with. It was an unexpected
- cross-product of NFS and FFS implementation decisions.
-
- --dave
- --
- David Collier-Brown, | davecb@CCS.YorkU.CA | lethe!dave
- 72 Abitibi Ave., |
- Willowdale, Ontario, | York postmaster and
- CANADA. 416-223-8968 | occasional sendfail(8) consultant.
-