Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

Linux: CIFS/Samba mount hangs for several minutes

Solution 1:

Not sure why the problem is happening, but as a workaround, have you tried to put something like touch /mnt/windowsbox/keepalive.txt or echo "I am still alive." >/mnt/windowsbox/keepalive.txt to be run via cron every minute? That way the connection should stay active.

Solution 2:

I too encounter this every few months. sudo umount -l is my workaround. https://stackoverflow.com/a/96288/2097284

Tags:

Linux

Cifs

Related

Munin not creating HTML files in Ubuntu Server 14.04 How to auto-start unprivileged lxc containers? SSHD real-ip behind haproxy Best way to gracefully restart CentOS? How to properly use kexec with systemd on CentOS 7? Difference between ca-bundle.crt and ca-bundle.trust.crt Redirect all http requests behind Amazon ELB to https without using if Can PXE boot of Hyper-V VMs be disabled? Setting Access-Control-Allow-Origin on Cloudfront crontab listing or editing results in fopen: permission denied Is "sudo su -" considered a bad practice? Can you define a server's locations in multiple nginx config files?

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy