Juan Ignacio Garzón
2008-Feb-19 13:45 UTC
[Samba] Moving / Copying files inside server across different shares
Hi guys! when I move a file inside a share (for example, from \\server\myshare\dir1 to \\server\myshare\dir2), Samba manages it in order to make the move inside the server. That is, its very fast because the file never gets downloaded to the client. My problem is that when moving a file across different shares, it gets first downloaded to the client and then copied back to the new location. For example, if I move a file from \\server\myshare1 to \\server\myshare2, it takes 30 minutes, but if it's moved inside the share it takes seconds. This happened me using Nautilus as client, maybe its a client issue? Is there something I can do in order to override this in the server? Thanks in advance!
Ryan Bair
2008-Feb-19 20:54 UTC
[Samba] Moving / Copying files inside server across different shares
That all happens client side. The only way to work around it is to make a share that encloses both shares and use that on the clients. You will also have this problem with Windows clients. Sorry Juan, I accidentally replied only to you in that last email. On Feb 19, 2008 8:37 AM, Juan Ignacio Garz?n <juanignaciogarzon+samba@gmail.com> wrote:> Hi guys! > > when I move a file inside a share (for example, from > \\server\myshare\dir1 to \\server\myshare\dir2), Samba manages it in > order to make the move inside the server. That is, its very fast > because the file never gets downloaded to the client. > > My problem is that when moving a file across different shares, it gets > first downloaded to the client and then copied back to the new > location. For example, if I move a file from \\server\myshare1 to > \\server\myshare2, it takes 30 minutes, but if it's moved inside the > share it takes seconds. This happened me using Nautilus as client, > maybe its a client issue? > > Is there something I can do in order to override this in the server? > > Thanks in advance! > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >
Lukasz Szybalski
2008-Feb-19 21:03 UTC
[Samba] Moving / Copying files inside server across different shares
On Feb 19, 2008 7:37 AM, Juan Ignacio Garz?n <juanignaciogarzon+samba@gmail.com> wrote:> Hi guys! > > when I move a file inside a share (for example, from > \\server\myshare\dir1 to \\server\myshare\dir2), Samba manages it in > order to make the move inside the server. That is, its very fast > because the file never gets downloaded to the client. > > My problem is that when moving a file across different shares, it gets > first downloaded to the client and then copied back to the new > location. For example, if I move a file from \\server\myshare1 to > \\server\myshare2, it takes 30 minutes, but if it's moved inside the > share it takes seconds. This happened me using Nautilus as client, > maybe its a client issue? >Isn't that a normal behavior? When you move from 2 different shares it treats them as 2 different server? I would try mounting the folders using mount -t cifs and see if that will copy it quicker. Lucas> Is there something I can do in order to override this in the server? > > Thanks in advance! > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >-- Samba on Debian, Documentation http://lucasmanual.com/mywiki/SambaDomainController
Maybe Matching Threads
- Please help : Strange 'file has vanished' behaviour with rsync on windows.
- Centos 4.3 32 bit -CIFS VFS: Send error in Close = -9
- Strange message from Samba
- netbios name resolution inside linux via samba?
- ACLs on Samba share not preserved when copying with Windows Explorer