Ubuntu – Why does Samba always time-out whilst copying a large file off a network share

clipboardnautilusnetworkingsambatimeout

I'm running Ubuntu 11.04 (natty), kernel 2.6.38-8-generic, GNOME 2.32.1.

EDIT: As of 3 April 2012 I'm now on kernel 2.6.38-13-generic (still same Ubuntu and GNOME). The problem still persists.

I have a Synology DiskStation DS207 NAS connected to my home network. Both of these devices are connected to the network via wired gigabit ethernet.

I access the NAS via Samba on the Ubuntu box.

My problem is that every time I try to copy a large file from one of the NAS's Samba shares to the Desktop on the Ubuntu box using Nautilus, the operation times-out and fails about a third of the way through the copy (roughly about 3 mins into the operation).

I have retried the copy 3 times and the same thing has happened every time.

However, I also have a Windows 7 installation on a different drive in the same PC as the Ubuntu install, and if I boot into Windows 7 and try to copy the file using that OS instead then it works perfectly. This proves (to me at least) that the file and the network connection and hardware are actually all fine.

So does anyone have any ideas about what might be going wrong when trying to copy the file in Ubuntu? Is there simply a "samba keep-alive" setting or similar that I need to set somewhere?

By the way, here's a screenshot of the error I get:

Screenshot of the error

Best Answer

My problem solved. I checked the server hardware and recognized, two of fans are blocked because of dirt (motherboard and video card). After cleaning and oiling bearings of the fans the server is working perfectly.

Related Question