Jump to content

Connecting to Windows Shared Folders --> CIFS VFS Error 104 & Error 32


rett448

Recommended Posts

rett448

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.

 

post-122080-0-89883700-1496084651_thumb.png

post-122080-0-24821600-1496084652_thumb.png

Link to comment
Share on other sites

hi, what do the paths look like that you added in emby library setup?

Link to comment
Share on other sites

rett448

Luke,

 

Is this what you are looking for?  The file paths have not changed since I originally set up the server in October (prior to when this issue began).  I have created a folder for each "type" of media on the Ubuntu server and those are mapped to the shares on the Windows Server.  Like I said above if I reboot the Ubuntu VM everything works fine for the first few hours, but eventually the shares drop off.  

 

I think this may be a general Ubuntu issue rather than an emby server specific issue.  Unfortunately I am not very proficient with Ubuntu, especially the command line only server, so it is difficult for me to troubleshoot myself.   

 

 

 

 post-122080-0-04452500-1496111138_thumb.png

Edited by rett448
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...