Re: NFS bug, 2.1.57 from Solaris 2.6 server

Steven N. Hirsch (shirsch@ibm.net)
Mon, 29 Sep 1997 18:37:11 -0400 (EDT)


On Mon, 29 Sep 1997, Aron Griffis wrote:

> There seems to be an NFS problem that results in missing files and
> directories. I don't know if this is a problem with Linux NFS or
> Solaris NFS, or what versions are affected. My test case is Linux
> 2.1.57 -> Solaris 2.6. I tried a couple shells (the example is using
> ash) to verify that they are not at fault. It is possible that it is
> the mv program, but I have tested on local disk and the problem does not
> show.
>
> $ :>1 ; :>2 ; :>3 ; mkdir 4 ; mv * 4
> mv: cannot move `4' to `4/4': Operation not permitted
> $ ls -lF
> total 0
>
> It doesn't make any difference what order the files and directory are
> made. Nor does it matter if there is anything already in the
> directory; it is always removed. I think it is necessary for the
> directory name to be the last filename mv tries to rename. That is,
>
> $ :>2 ; :>3 ; :>4 ; mkdir 1 ; mv * 1
> mv: cannot move `1' to `1/1': Operation not permitted
> $ ls -lF
> total 0
> -rw-r--r-- 1 agriffis network 0 Sep 29 14:20 1
>
> mv 1 2 3 4 4 <-- produces bug (first example)
> mv 1 2 3 4 1 <-- doesn't produce bug (second example)
>

Bill Hawes is in the midst of heavy debugging on the NFS client. This is
a known problem resulting from the d_entry stuff.

Steve