Let me start off by saying while I have a lot of experience with windows server, I am new to Ubuntu/linux, so please forgive me if this is a very easy issue to solve.
I am running windows server 2008 R2 on my main server with media stored on several raid arrays and shared via windows file sharing across my network. I also run several virtual machines on this box via hyper-v, one of which is Ubuntu server 16.04 LT (command line only) with Emby Server. The Ubuntu server connects to several of the windows shared folders via CIFS (attached the FSTAB configuration file) and mounts automatically when the VM boots.
I set up the Ubuntu/Emby VM last October and it worked perfectly until I started getting errors about a month ago. Now after the Emby server has been running for a few errors hours my Movies or TV shows all disappear from Emby. When I open up the Ubuntu server console via hyper-V I get two errors that repeat:
“CIFS VFS: Error -104 sending data on socket to server” and “CIFS VFS: Error -32 sending data on socket to server”
There is significant network traffic be directed towards the windows server machine and the Ubuntu virtual server has above average CPU usage. When I reboot the error temporarily disappears but comes back after a few hours later. I tried rolling the VM back to a clean install (circa October 2016) but after installing all the ubuntu/emby updates the problem came back. When I try to run “sudo umount –a” I get several errors saying “target is busy”. I can manually browse and play all the media files on any of the windows PCs on my network, so I don’t think the issue is on the windows server side.
It looks like CIFS is getting suck in some sort of loop. Can anyone provide some insight on why this is happening? Let me know if there is additional information I can provide to help debug this.
CIFS Erros.png 42.14KB 0 downloads
FSTAB.png 23.12KB 2 downloads