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.
[pastacode lang=”bash” manual=”%2F%2F192.168.0.10%2Fdir1%20%2Fhome%2Fuser%2Fdir1%20cifs%20credentials%3D%2Froot%2F.secret.pwd%2Cuid%3D1000%2Cgid%3D1000%2Cfile_mode%3D0777%2Cdir_mode%3D0777%2Ciocharset%3Dutf8%2Csec%3Dntlm%200%200%0A%2F%2F192.160.0.10%2Fdir2%20%2Fhome%2Fuser%2Fdir2%20cifs%20credentials%3D%2Froot%2F.secret.pwd%2Cuid%3D1000%2Cgid%3D1000%2Cfile_mode%3D0777%2Cdir_mode%3D0777%2Ciocharset%3Dutf8%2Csec%3Dntlm%200%200%0A%2F%2F192.160.0.10%2Fdir3%20%2Fhome%2Fuser%2Fdir3%20cifs%20credentials%3D%2Froot%2F.secret.pwd%2Cuid%3D1000%2Cgid%3D1000%2Cfile_mode%3D0777%2Cdir_mode%3D0777%2Ciocharset%3Dutf8%2Csec%3Dntlm%200%200%0A%0A” message=”bash code” highlight=”” provider=”manual”/]
  • The first share gets mounted correctly, but not the other two.
  • This is the output we get when sudo-ing a mount -a:

Code:

[pastacode lang=”bash” manual=”mount%20error(115)%3A%20Operation%20now%20in%20progress%0ARefer%20to%20the%20mount.cifs(8)%20manual%20page%20(e.g.%20man%20mount.cifs)%0Amount%20error(115)%3A%20Operation%20now%20in%20progress%0ARefer%20to%20the%20mount.cifs(8)%20manual%20page%20(e.g.%20man%20mount.cifs)%0A” message=”bash code” highlight=”” provider=”manual”/] [ad type=”banner”]

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

Code:

[pastacode lang=”bash” manual=”Mar%2024%2012%3A56%3A12%20hostname%20kernel%3A%20%5B%201887.029043%5D%20CIFS%20VFS%3A%20Error%20connecting%20to%20socket.%20Aborting%20operation%0AMar%2024%2012%3A56%3A12%20hostname%20kernel%3A%20%5B%201887.030013%5D%20CIFS%20VFS%3A%20cifs_mount%20failed%20w%2Freturn%20code%20%3D%20-115%0AMar%2024%2012%3A56%3A22%20hostname%20kernel%3A%20%5B%201897.052130%5D%20CIFS%20VFS%3A%20Error%20connecting%20to%20socket.%20Aborting%20operation%0AMar%2024%2012%3A56%3A22%20hostname%20kernel%3A%20%5B%201897.053885%5D%20CIFS%20VFS%3A%20cifs_mount%20failed%20w%2Freturn%20code%20%3D%20-115%0A” message=”bash code” highlight=”” provider=”manual”/]
  • The same happens at boot time.

Now, we run manually :

Code:

[pastacode lang=”bash” manual=”sudo%20mount%20%2F%2F192.168.0.10%2Fdir2%20%2Fhome%2Fuser%2Fdir2%20-t%20cifs%20-o%20credentials%3D%2Froot%2F.secret.pwd%2Cuid%3D1000%2Cgid%3D1000%0A” message=”bash code” highlight=”” provider=”manual”/]

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:
[pastacode lang=”bash” manual=”Feb%20%209%2014%3A08%3A29%20ldap%20kernel%3A%20%5B143452.140157%5D%20CIFS%20VFS%3A%20Error%20connecting%20to%20socket.%20Aborting%20operation%0AFeb%20%209%2014%3A08%3A29%20ldap%20kernel%3A%20%5B143452.140492%5D%20CIFS%20VFS%3A%20cifs_mount%20failed%20w%2Freturn%20code%20%3D%20-115%0A” message=”bash code” highlight=”” provider=”manual”/] [ad type=”banner”]
  • Socket error, we know what this is right? IP or port. Ping for domain/IP or Telnet to test port:
[pastacode lang=”bash” manual=”ping%20IP%0Atelnet%20IP%20445%0A” message=”bash code” highlight=”” provider=”manual”/]
  • 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: