Software⏱️ 4 min read📅 2026-06-15

How to Fix: Debian: samba mount fail "mount error(115): Operation now in progress"

Debian samba mount error Operation now in progress fix

Quick Answer: Try using the vers=3.0 parameter instead of vers=2.0, as some older servers may not support version 2.0.

The 'mount error(115): Operation now in progress' issue affects Debian users who are trying to mount shares from a Synology DiskStation using the Samba protocol. This error is frustrating because it prevents users from accessing their shared files and folders on the network. In this guide, we will troubleshoot the root causes of this issue and provide two primary fix methods to resolve the problem.

It's also worth noting that the issue persists even when trying different versions of the Samba protocol (e.g., vers=1.0 or without specifying the version), suggesting a deeper issue with the network connection or the DiskStation itself.

🛑 Root Causes of the Error

  • The primary reason for this error is a timeout issue on the part of the CIFS VFS. When the CIFS VFS attempts to connect to the socket, it encounters an error and aborts the operation. This can be caused by a variety of factors, including network congestion, DNS resolution issues, or incorrect configuration.
  • An alternative reason for this error is that the DiskStation's IP address may not be resolvable on the Debian system. If the DiskStation's IP address cannot be resolved using DNS, the CIFS VFS will fail to connect to it, resulting in the 'mount error(115): Operation now in progress' message.

🔧 Proven Troubleshooting Steps

Enable the netdev option and increase the timeout

  1. Step 1: To resolve this issue, you need to enable the netdev option when mounting the share. This can be done by adding the '-o netdev' option to the mount command. For example: `mount -t cifs -o username=m.somogyi,vers=2.0,netdev //192.168.0.200/Kozos /mnt/ds1-common/`. This will ensure that the CIFS VFS uses a dedicated network interface for the connection, which can help resolve timeout issues.
  2. Step 2: Additionally, you may need to increase the timeout value for the mount operation. This can be done by adding the '-o timeout=120' option to the mount command. For example: `mount -t cifs -o username=m.somogyi,vers=2.0,netdev,timeout=120 //192.168.0.200/Kozos /mnt/ds1-common/`. This will give the CIFS VFS more time to establish a connection with the DiskStation before timing out.
  3. Step 3: It's also recommended to check the DiskStation's IP address and ensure that it is correctly configured on the Debian system.

Check DNS resolution and network connectivity

  1. Step 1: To troubleshoot this issue, you need to check the DNS resolution of the DiskStation's IP address. You can do this by running the `dig` command with the `-x` option, which will perform a reverse DNS lookup on the IP address. For example: `dig -x 192.168.0.200`. If the DNS resolution fails, you may need to update the `/etc/hosts` file with the correct IP address for the DiskStation.
  2. Step 2: Additionally, you should check the network connectivity between the Debian system and the DiskStation. You can do this by running the `ping` command with the `-c 1` option, which will send a single ping packet to the DiskStation's IP address. For example: `ping -c 1 192.168.0.200`. If the ping fails, you may need to check the network configuration and ensure that it is correct.

💡 Conclusion

In summary, the 'mount error(115): Operation now in progress' issue on Debian can be resolved by enabling the netdev option and increasing the timeout value when mounting shares from a Synology DiskStation using Samba. Additionally, checking DNS resolution and network connectivity between the systems can help resolve this issue. By following these steps, you should be able to access your shared files and folders on the network without any issues.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions