On Sat, 4 Sep 1999 sirbruce@ix.netcom.com wrote:
Hmm, this doesn't make any sense to me. Shouldn't do that if the client has the root mounted, and in any case I don't know how one would fine out what ops the Netapp is "issueing" to itself.
When the client tries a rename() between two qtrees, it fails with EXDEV, so the mv command falls back to a copy, even though it should appear as a rename between two directories on the same filesystem (in the case of a root-mounted filer). Yes, it would be great if the filer could twiddle with its file table and be able to do true renames between qtrees.
But if that's the case, then you have an issue as to whether or not those commands should report only what the client is sending (my view) or what operations the Netapp is translating that to internally (your contention that it does now).
I pinned the blame on the wrong end of the connection. ;-) The NFS client is fully aware that it is issuing reads/writes to copy the file, and the NFS stats reflect this.