Mount error 115 on some shares? (LINUX)

  • Running debian wheezy on a virtual machine and trying to mount some shares from the win8.1 host.
bash code
//192.168.0.10/dir1 /home/user/dir1 cifs credentials=/root/.secret.pwd,uid=1000,gid=1000,file_mode=0777,dir_mode=0777,iocharset=utf8,sec=ntlm 0 0
//192.160.0.10/dir2 /home/user/dir2 cifs credentials=/root/.secret.pwd,uid=1000,gid=1000,file_mode=0777,dir_mode=0777,iocharset=utf8,sec=ntlm 0 0
//192.160.0.10/dir3 /home/user/dir3 cifs credentials=/root/.secret.pwd,uid=1000,gid=1000,file_mode=0777,dir_mode=0777,iocharset=utf8,sec=ntlm 0 0
  • The first share gets mounted correctly, but not the other two.
  • This is the output we get when sudo-ing a mount -a:

Code:

bash code
mount error(115): Operation now in progress
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(115): Operation now in progress
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[ad type=”banner”]

and this is what /var/log/syslog shows:

Code:

bash code
Mar 24 12:56:12 hostname kernel: [ 1887.029043] CIFS VFS: Error connecting to socket. Aborting operation
Mar 24 12:56:12 hostname kernel: [ 1887.030013] CIFS VFS: cifs_mount failed w/return code = -115
Mar 24 12:56:22 hostname kernel: [ 1897.052130] CIFS VFS: Error connecting to socket. Aborting operation
Mar 24 12:56:22 hostname kernel: [ 1897.053885] CIFS VFS: cifs_mount failed w/return code = -115
  • The same happens at boot time.

Now, we run manually :

Code:

bash code
sudo mount //192.168.0.10/dir2 /home/user/dir2 -t cifs -o credentials=/root/.secret.pwd,uid=1000,gid=1000

mount error(115): Operation now in progress … CIFS VFS: cifs_mount failed w/return code = -115

  • Trying to mount a CIFS path in Ubuntu and getting:
  • mount error(115): Operation now in progress
  • Try to look this /var/log/syslog:
bash code
Feb  9 14:08:29 ldap kernel: [143452.140157] CIFS VFS: Error connecting to socket. Aborting operation
Feb 9 14:08:29 ldap kernel: [143452.140492] CIFS VFS: cifs_mount failed w/return code = -115
[ad type=”banner”]
  • Socket error, we know what this is right? IP or port. Ping for domain/IP or Telnet to test port:
bash code
ping IP
telnet IP 445
  • Telnet was timing out, port closed for IP in firewall.

LEM mount error(115): Operation now in progress

Overview

  • This article describes an error during the LEM upgrade process where you are asked to specify a network share location containing upgrade files.
  • After entering the network share as \\hostname\sharename and the username and password, LEM throws this error and will fail the upgrade process:

Mount error(115): Operation now in progress

Cause

  • A network name resolution failing on the smb client in LEM.

Resolution

  • Check ICMP connectivity (ping) between the hosts.
  • Attempt to mount a share on the same subnet as LEM.
  • Attempt to use the IP address and a simple share name when mounting the share.

e.g. \\10.1.1.1\lem\ rather than \\some_host_some_place_on_the_network\this_share.name_desktop_special_unique_and_long

Categorized in: