-4

I am quite unsure of how the move files/directories use case in a client and NAS scenario technically works - perhaps someone can enlighten me or tell me if this is normal OS-behavior.

I have a NAS ( Synology DiskStation ) in a Gigabit-LAN with sometimes big directories ( in the range of ~ 10GB ) which I want to move somewhere else on the same NAS ( even on the same hard disk ).

The problem is that if I move a directory from lets say

//diskstation:/dir_foo/dir_1/src_1

to

//diskstation:/dir_foo/dir_2/

via my Windows 7 Desktop PC in Explorer ( I even tried it in Finder on MacBook ) this can take up to 10 Minutes (or the like) and I really wonder why this is the case. To me this seems as if the whole data was first transported over LAN to my client PC and then afterwards moved back to the NAS!?

Shouldn't the explorer or the NAS notice that this is local file operation so that the data doesn't have to be transported through my LAN and the movie should be much quicker? How can I analyze if the file movement is really executed over LAN? Because if i wanted to do these kind of operations via VPN from external, it would be pretty much unusable... Is this normal behavior?

Neels
  • 2,547
  • 6
  • 33
  • 40
Chris
  • 1

3 Answers3

0

It's hard to give a firm answer, because it depends. What access protocol are you using, and what operation are you performing? Is it a drag-drop in your GUI?

Your NAS does what it's told. It almost certainly implements some sort of internal rename function, that means you don't need to copy data in order to 'move' it.

If you do this from the command line, using 'move' or 'mv' (depending on DOS/Unix) do you have the same problem? I'm prepare to bet you don't, because you're telling the NAS to rename, and it will, and it'll be fine.

Sobrique
  • 52,974
  • 7
  • 60
  • 101
  • On the Synology DiskStation i activated SMB and AFP for Windows and Mac usage. I did the copy/move in the GUI of Windows explorer / Mac Finder. I also can do this kind of file operation in the web view of the DiskStation of course ( which is called "File Station") - here it seems to be much quicker. That also is kind of logical to me, because I am "directly logged into the DiskStation". But the normal use case for all other users is that they use their respective clients (Notebooks). Also we want to automize some file operations with "Hazel" on Mac, which would again use AFP... – Chris Nov 19 '14 at 19:22
0

Move it from the GUI instead of the file explorer.

frank
  • 1
  • 2
    I don't know if this answers the question or not, but assuming it does more details would be good. For example: How can one move it from the GUI? Please edit your answer with that information otherwise it risks getting down-voted or closed. – Jonathan Aug 17 '17 at 01:57
-2

If you are using your windows explorer for moving the files then your OS will first download the file from source directory to client PC and then upload it to target directory, this is because your using SAMBA shares.

If you want to move files quickly within your nas then best way would be to use putty or WinSCP which uses ssh & ftp etc.