Page 1 of 1

Network failures incl Samba share copy failures and VNC freezes

Posted: Tue Apr 17, 2018 9:47 am
by ErgatesthiAnt
I'm using an RPi 3B+ with a fresh install of Raspbian from noobs. It has Samba installed and also OpenVPN, VNC, SSH and Transmission. When I try to copy a series of larger files to my Windows 10 computer, the copy usually fails after a couple of GB has been copied. The error is "An unexpected error is keeping you from copying the file". The file is 8.7GB in size. A reboot clears the network problem, and smaller files copy just fine.

The network is wired ethernet via a Netgear switch for both RPi and desktop hardware.

Any ideas?

Re: Samba share copy failures

Posted: Tue Apr 17, 2018 10:38 am
by ErgatesthiAnt
OK, more diagnosis discovered:
I forgot to add that it has an ntfs 4TB Western Digital drive connected. It's not on a powered hub, and I don't ever recall any powering up problems with the drive/RPi.
VNC also used to fail/freeze randomly, and would then continue working if I restarted the VNC client on the windows machine.
If I swap the SD card from my 3B+ to a 3B, then there are no network problems.
From what I recall, the networking problems started when I installed the 3B+ RPi. (Installed as a new samba file server)

Re: Samba share copy failures

Posted: Tue Apr 17, 2018 3:16 pm
by gkreidl
Ther seem to be problems with the new usb ethernet driver: viewtopic.php?f=63&t=208512

Re: Samba share copy failures

Posted: Tue Apr 17, 2018 8:38 pm
by ErgatesthiAnt
gkreidl wrote:
Tue Apr 17, 2018 3:16 pm
Ther seem to be problems with the new usb ethernet driver: viewtopic.php?f=63&t=208512
Thank you! I do believe this has fixed the problem. Setting flow control to on on both my NetGear ProSafe GS103 switches has corrected for whatever the driver problem is, if that is what it is. Amusingly I have slightly better network performance also.

Re: Samba share copy failures

Posted: Tue Apr 17, 2018 8:40 pm
by ErgatesthiAnt
Oh blast, as I wrote that it fell over again. Maybe it's not the solution. Grrrr. How I hate fault finding intermittent problems.