Had a question on NFS mounts and how they interact with transferring files on a low level. I'm trying to understand the latency involved with transferring files from within the same mount.
Say you SSH into a VM that has a mount setup. The VM is in USA and the mount is in Europe. Now execute the following command:
sudo mv /mnt/serverInEurope/dir1/file.txt /mnt/serverInEurope/dir2/file.txt
Does the VM in USA read the file, just to write it back to the Europe mount?
Second question is very similiar:
sudo mv /mnt/serverOneInEurope/file.txt /mnt/serverTwoInEurope/file.txt
If I'm transferring from one mounted server in Europe to another using a VM in the USA, will the VM read the data locally before it transfers from Europe mount to Europe mount? Or is the mv'ing of a file intelligent enough to execute the transfer entirely between the mounts in Europe?
These are very crucial distinctions because I'm transferring petabytes or more of information within different servers in Europe.
Thanks for your time.