Perhaps I can add to the discussion with the following data points.
I have the following running as separate physical machines (no VMs):
- FreeNAS-9.10.2-U4 (27ae72978)
Samba Version 4.5.10
- Debian (8.8) 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux
Samba Version 4.2.14-Debian
- Raspberry Pi 4.9.24-v7+ #993 SMP Wed Apr 26 18:01:23 BST 2017 armv7l GNU/Linux
Samba Version 4.2.14-Debian
FreeNAS Samba Options:
Code:
ea support = no
store dos attributes = no
map archive = no
map hidden = no
map readonly = no
map system = no
ntlm auth = yes
Debian /etc/fstab:
Code:
//freenas-server/backup /mnt/backup cifs sec=ntlm,credentials=/etc/cifspasswd,iocharset=utf8 0 0
Raspberry Pi /etc/fstab:
Code:
//freenas-server/share/Games /home/pi/RetroPie/roms cifs sec=ntlm,username=xxxx,password=xxxx,uid=pi,gid=pi,nounix,noserverino,users,x-systemd.automount 0 0
The Debian machine and share mount cause no problems on my FreeNAS box.
The Raspberry Pi machine, after mounting the share, causes the following problems:
- 12%-20% CPU usage
- Constant 650Kb to 1Mb Network traffic from the box to the LAN
I also get hundreds of entries like this when I run netstat:
Code:
tcp4 0 0 freenas-server.microsoft-d raspberrypi.54371 TIME_WAIT
After unmounting the share, all the TIME_WAIT entries die off and the network traffic stops. Would really like to solve this.