Mount error 115 operation now in progress что делать

Всем привет! Есть такая вот задача.
  • Печать

Страницы: [1] 2  Все   Вниз

Тема: Ошибка при монтировании — mount error(115)  (Прочитано 3698 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
luckos

Всем привет! Есть такая вот задача. На рабочем ПК стоит Win 7. Там у нас через Kerio VPN прикручены сетевые диски.
Поставил рядом Ubuntu и хочу эти самые диски запустить и здесь.
Но не получается!
Наш сисадмин на аутсорсе не соображает по Linux вообще (либо прикидывается — что маловероятно).

В общем, с Kerio VPN я с горем пополам разобрался.
Дошло дело непосредственно до монтирования диска. Указываю все данные

sudo mount -t cifs //адрес/папка /media/папка -o user=user,password=pass,iocharset=utf8

 — и получаю ошибку

Похожих тем на форуме не нашел…есть одна, но там решение так и не найдено и ошибка несколького другого плана.

Вопрос: кто сталкивался? Что делать?

« Последнее редактирование: 21 Февраля 2019, 05:38:55 от luckos »

Месье, женеманшпа сись жур


Оффлайн
ALiEN175

ping -c4 addressНаймите грамотного админа.

« Последнее редактирование: 21 Февраля 2019, 05:58:46 от ALiEN175 »

ASUS P5K-C :: Intel Xeon E5450 @ 3.00GHz :: 8 GB DDR2 :: Radeon R7 260X :: XFCE
ACER 5750G :: Intel Core i5-2450M @ 2.50GHz :: 6 GB DDR3 :: GeForce GT 630M :: XFCE


Оффлайн
luckos

Нашел весьма рациональную мысль — посмотреть логи (http://www.shinli.com/?p=53)
/var/log/syslog
И что было?

Далее указываю при монтировании дополнительно «….vers=1.0» — все равно подключения нет. Проверил логи:

ALiEN175, сделал

« Последнее редактирование: 22 Февраля 2019, 07:47:05 от luckos »

Месье, женеманшпа сись жур


Оффлайн
SergeyIT

luckos, сделай
ping -c4 127.0.0.1
и посмотри разницу

Извините, я все еще учусь


Оффлайн
luckos

SergeyIT, сделал, а о чем это говорит? у меня недостаток квалификации, чтобы понять.
Сначала сделал то, что ты сказал, потом пинг нашего адреса.

Месье, женеманшпа сись жур


Оффлайн
Morisson


Оффлайн
luckos

Morisson, спасибо спасибо

Месье, женеманшпа сись жур


Оффлайн
DimanBG

Дошло дело непосредственно до монтирования диска.

А ты не пробовал просто взять в Наулилусе и подключится.


Оффлайн
Morisson

Я так и делаю) Ну мож у человека гуя нет.


Оффлайн
SergeyIT

Так у него не пингуется даже  :-

Извините, я все еще учусь


Оффлайн
ALiEN175

у меня недостаток квалификации

Найдите того, у кого квалификация повыше. Изучить информатику парой постов на форуме — нереально.

« Последнее редактирование: 23 Февраля 2019, 18:03:41 от ALiEN175 »

ASUS P5K-C :: Intel Xeon E5450 @ 3.00GHz :: 8 GB DDR2 :: Radeon R7 260X :: XFCE
ACER 5750G :: Intel Core i5-2450M @ 2.50GHz :: 6 GB DDR3 :: GeForce GT 630M :: XFCE


Оффлайн
DimanBG

Так у него не пингуется даже  :-

Да х.з что он там пингует. 


Оффлайн
ALiEN175

Может сервер блочит ICMP. Без внятного объяснения ситуации — это разговор глухого с немым. 


Пользователь добавил сообщение 22 Февраля 2019, 22:11:52:


В общем, с Kerio VPN я с горем пополам разобрался.

А может Kerio VPN что-то блочит.  Вариантов — масса.

« Последнее редактирование: 22 Февраля 2019, 22:11:52 от ALiEN175 »

ASUS P5K-C :: Intel Xeon E5450 @ 3.00GHz :: 8 GB DDR2 :: Radeon R7 260X :: XFCE
ACER 5750G :: Intel Core i5-2450M @ 2.50GHz :: 6 GB DDR3 :: GeForce GT 630M :: XFCE


Оффлайн
luckos

А ты не пробовал

пробовал


Пользователь добавил сообщение 24 Февраля 2019, 09:26:27:


Ну мож у человека гуя нет.

остроумно


Пользователь добавил сообщение 24 Февраля 2019, 09:27:53:


ALiEN175, ок

P.S. Всем спасибо, особенно хохмачам. Вам такой же помощи только могу пожелать. Вопрос не решен.

« Последнее редактирование: 24 Февраля 2019, 09:30:47 от luckos »

Месье, женеманшпа сись жур


Оффлайн
ALiEN175

nmblookup -A IP

smbclient -L IP?

« Последнее редактирование: 24 Февраля 2019, 10:01:39 от ALiEN175 »

ASUS P5K-C :: Intel Xeon E5450 @ 3.00GHz :: 8 GB DDR2 :: Radeon R7 260X :: XFCE
ACER 5750G :: Intel Core i5-2450M @ 2.50GHz :: 6 GB DDR3 :: GeForce GT 630M :: XFCE


  • Печать

Страницы: [1] 2  Все   Вверх

PROBLEM:

Mount error 115 on some shares? (LINUX)

SOLUTION 1:

  • 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”/]

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”/]

SOLUTION 2:

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”/]

  • 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.

SOLUTION 3:

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 \hostnamesharename 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.1lem rather than \some_host_some_place_on_the_networkthis_share.name_desktop_special_unique_and_long

Wikitechy Founder, Author, International Speaker, and Job Consultant. My role as the CEO of Wikitechy, I help businesses build their next generation digital platforms and help with their product innovation and growth strategy. I’m a frequent speaker at tech conferences and events.

Related Tags
  • 192.168 l 128 password,
  • centos mount error 115 operation now in progress,
  • cifs error 115,
  • cifs mount error 115,
  • cifs mount port,
  • cifs vfs error connecting to socket. aborting operation 115,
  • errno 115 operation now in progress,
  • how to access shared folder in ubuntu,
  • how to access windows shared folder from linux,
  • how to share folder in windows 7,
  • linux 15.10,
  • linux error 115 operation now in progress,
  • linux error codes,
  • map network drive linux,
  • mount a network drive in linux,
  • mount error 115,
  • mount error(115): operation now in progress azure,
  • mount network drive in linux,
  • mount windows share in linux,
  • network sharing windows 7,
  • operation now,
  • raspberry pi mount error(115) operation now in progress,
  • Searches related to mount error(115) operation now in progress linux,
  • share desktop windows 7,
  • share folder in windows 7,
  • tns-12537 tns-12560 tns-00507 linux error 115,
  • ubuntu file sharing,
  • ubuntu fstab,
  • ubuntu map network drive gui,
  • ubuntu nas error 115,
  • wd my cloud linux,
  • windows 7 shared folder

What happened:
A pod unable to attach or mount volumes

The error:
Warning FailedMount 15s kubelet, aks-nodepool1-* (combined from similar events): MountVolume.SetUp failed for volume «pvc-» : mount failed: exit status 32
Mounting command: systemd-run
Mounting arguments: —description=Kubernetes transient mount for /var/lib/kubelet/pods/
—scope — mount -t cifs -o cache=none,dir_mode=0777,file_mode=0777,gid=1000,mfsymlinks,nobrl,uid=1000,username=,password=,vers=3.0 //.file.core.windows.net/kubernetes-dynamic-pvc- /var/lib/kubelet/pods/1*/volumes/kubernetes.io~azure-file/pvc-*
Output: Running scope as unit run-*.scope.
mount error(115): Operation now in progress
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

How to reproduce it (as minimally and precisely as possible):

StorageClass:

kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: azurefile
provisioner: kubernetes.io/azure-file
mountOptions:
  - dir_mode=0777
  - file_mode=0777
  - uid=1000
  - gid=1000
  - mfsymlinks
  - nobrl
  - cache=none
parameters:
  skuName: Standard_LRS

PVC

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: azure-managed-disk-upload
  namespace: lego
spec:
  accessModes:
  - ReadWriteMany
  storageClassName: azurefile
  resources:
    requests:
      storage: 500Mi

PV:

NAME                                       CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM                              STORAGECLASS   REASON   AGE
pvc-4641a509-ccfa-4e2a-95b6-a43f6cbeed14   1Gi        RWX            Delete           Bound    lego/azure-managed-disk-upload     azurefile               13d

Anything else we need to know?:
Storage and Nodes are in the same region.
The nodes are in a Virtual Network
We haven’t enabled TCP 445 in our firewall, it is not clear from the documentation if is required.
The documentation we followed:
https://docs.microsoft.com/en-us/azure/aks/limit-egress-traffic#required-ports-and-addresses-for-aks-clusters
The troubleshoot documentation:
https://docs.microsoft.com/en-us/azure/storage/files/storage-troubleshoot-linux-file-connection-problems

Environment:

  • Kubernetes version:
    Client Version: version.Info{Major:»1″, Minor:»16″, GitVersion:»v1.16.0″, GitCommit:»2bd9643cee5b3b3a5ecbd3af49d09018f0773c77″, GitTreeState:»clean», BuildDate:»2019-09-18T14:36:53Z», GoVersion:»go1.12.9″, Compiler:»gc», Platform:»linux/amd64″}
    Server Version: version.Info{Major:»1″, Minor:»16″, GitVersion:»v1.16.7″, GitCommit:»1fc58d90cc4bc569394d9a882522adcb99fbaa57″, GitTreeState:»clean», BuildDate:»2020-04-03T15:20:08Z», GoVersion:»go1.13.6″, Compiler:»gc», Platform:»linux/amd64″}
  • Size of cluster: 3
  • General description of workloads in the cluster: Python Flask
  • Others: Node OS Ubuntu 16.04
View previous topic :: View next topic  
Author Message
dufeu
l33t
l33t

Joined: 30 Aug 2002
Posts: 921
Location: US-FL-EST

PostPosted: Thu Jun 07, 2012 11:18 pm    Post subject: cifs: Dealing w/mount error(115): Operation now in progress Reply with quote

I post this tip and its associated observations in the spirit that people trying to solve this problem will find it both helpful and enlightening.

Here is the background scenario:

  • You have a Windows based file share you want to access. This particular example uses WinXP Home as the server.
  • You have a Linux based PC with Samba installed which is your client.
  • You want to use cifs to attach the Windows based file share to your Linux based client.

The message: «mount error(115): Operation now in progress» indicates a failure to attach a Windows based file share using Samba. The following example is typical:

Code:
# mount -t cifs //192.168.0.102/Software /mnt/sweet.softare

Password:

mount error(115): Operation now in progress

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)



First, let’s make some things clear. If you’ve received this message, then the following is probably true:

  • Samba is properly installed on your client PC.
  • Your Samba configuration settings are probably correct.
  • Your Windows host network settings are probably correct.
  • The Windows based file share is visible and reachable from your client PC.
  • You cannot connect to the shared printer you know is out there.

As far as I can tell, you only get this message if Samba ‘sees’ the share you want but cannot connect to it.

Edit: Point of clarification — In the examples below, you’ll notice I use a domain name of ‘lamasondufeu’. I always make use of a domain name on mixed networks in order to enforce Windows Workgroup naming consistency. By default, Samba will use the domain name of the computer it’s running on as the ‘Windows Workgroup’ unless you explicitly provide one in smb.conf. Also by default, WinXP always uses ‘workgroup’ as it’s value for ‘Windows Workgroup’.

All computers which expect to talk to each other using Windows {cifs based} networking need to either be in the same Workgroup or you need to explicitly which workgroups they are allowed to talk to. Selecting a specific domain name for your network and using that as your Windows Workgroup name makes mixed networks much easier to adminster. Also, it’s considered bad security practice to leave the Windows Workgroup name at it’s default value so this is something you want to change anyway.

It’s always good policy on multi-computer local networks to pick your own domain name and stick with it for that local network. End Edit

Before we run any diagnostics, we can see one immediate problem. Note the prompt for ‘Password:’.

First tip: WinXP Home has no support for password based file shares. Password based file shares are optional for WinXP Professional. In the Windows world, all simple file shares assume there are no username/password pairs. Therefore, the above command was incorrect.

When trying to attach any simple Windows based file shares, you need to add ‘-o guest’ to the mount command. Simple in this case means no password restricted file shares which means no user authentication of any kind. Repeat: All WinXP Home based file share are simple. Most home users of WinXP Professional will also be using simple file shares as will Win 7 users whose file shares are set in WinXP compatibility mode.

The above command should look more like this:

Code:
# mount.cifs —verbose -o «guest,domain=lamasondufu» //192.168.0.100/Software /mnt/sweet.softare

mount.cifs kernel mount options: ip=192.168.0.100,unc=\192.168.0.100Software,guest,ver=1,user=,domain=lamasondufu,pass=********

mount error(115): Operation now in progress

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)



This command also failed but we were no longer prompted for ‘Password’. Yeah! First problem resolved.

To head off a possible point of confusion, please note that mount -t cifs and mount.cifs are the exactly equivalent. All these examples are cut and pasted from real life.

The first diagnostic we need to run is smbtree. This will confirm everything that’s actually visible on the network from Samba’s point of view. The results should prove:

  • You have Samba correctly installed.
  • What file shares/printers are available for you to attach.

Do not run this diagnostic tool on a network with a lot of PCs. The options you should use are:

Code:
  -b, —broadcast                    Use broadcast instead of using the master browser

  -N, —no-pass                      Don’t ask for a password

These options will run smbtree without the need or confusion to determine who the ‘master browser’ is and restrict the output to simple shares (no password) only.

The following is a typical example from my home network:

Code:
# smbtree -b -N

LAMASONDUFEU

        \SWEET                         Mumzie MS

                \SWEETSoftware       

                \SWEETCanonMX3        Canon MX360 series Printer

                \SWEETSharedDocs     

                \SWEETprint$          Printer Drivers

                \SWEETIPC$            Remote IPC

        \SLIZARD                       Samba 3.6.5

                \SLIZARDHP_PhotoSmart_P1000   HP PhotoSmart P1000

                \SLIZARDPHOTOSMART-P1000      HEWLETT-PACKARD PHOTOSMART P1000

                \SLIZARDIPC$                  IPC Service (Samba 3.6.5)

                \SLIZARDprint$                Printer Drivers

                \SLIZARDPUBROOT       

                \SLIZARDPUB04         

                \SLIZARDPUB03         

                \SLIZARDPUB02         

                \SLIZARDPUB01         

                \SLIZARDLIBRARY       

        \PYROTEKK                      Samba 3.6.5

                \PYROTEKKIPC$                 IPC Service (Samba 3.6.5)

                \PYROTEKKPUBROOT       

                \PYROTEKKPUBLIC         

        \PYRODYNO                      Samba 3.6.5

                \PYRODYNOIPC$                 IPC Service (Samba 3.6.5)

                \PYRODYNOPUBU06         

                \PYRODYNOPUBU05         

                \PYRODYNOPUBU04         

                \PYRODYNOPUBU03         

                \PYRODYNOPUBU02         

                \PYRODYNOPUBU01         

                \PYRODYNOPUBROOT       

                \PYRODYNOPUB02         

                \PYRODYNOPUB01         

                \PYRODYNOPUB00



If you’re on a network with more than a handful of computers, this listing can be quite long. Instead of running smbtree, you can run nmblookup. To run this command, you need an additional bit of information. That information is the IP address of the computer which hosts the file share you want to attach. As you can see from the above mount command, I have this information. There are one option you’ll want to use:

Code:
  -A, —lookup-by-ip                     Do a node status on <name> as an IP Address



This option reduces all the actions needed to perform the query to the barest minimum possible. This is an important point with implications I’ll address further down.

Here is a typical example of the query:

Code:
# nmblookup -A 192.168.1.100

Looking up status of 192.168.1.100

        SWEET           <00> —         M <ACTIVE>

        LAMASONDUFEU    <00> — <GROUP> M <ACTIVE>

        SWEET           <20> —         M <ACTIVE>

        LAMASONDUFEU    <1e> — <GROUP> M <ACTIVE>

        MAC Address = 00-16-76-78-E4-4F



The results show us two things:

  • We have Samba properly installed.
  • The file share host is visible on our network.

Now that we’ve verified Samba is working and that the host is visible, we’re ready to take the next diagnostic step. From both the smbtree and nmblookup commands, we know the Windows name of the host computer is SWEET. We therefore try our mount command using SWEET instead of 192.168.1.100:

Code:
# mount.cifs —verbose -o «guest,domain=lamasondufu» //SWEET/Software /mnt/sweet.softare

mount error: could not resolve address for SWEET: Unknown error



Second Tip: When one computer can’t find another computer by name, then we always punt. In this case, punting means to explicitly set up an entry in our local client’s /etc/hosts file for the target share server:

Code:
# echo «192.168.1.100   SWEET           sweet           sweet.lamasondufeu» >> /etc/hosts



We do this so that we rely upon only our local client and the target share host to establish a connection. It’s part of the bog standard diagnostic process to reduce number of possible failed components to the minimum needed.

Now, we try our mount command again:

Code:
# mount.cifs —verbose -o guest //SWEET/Software /mnt/sweet.softare

mount.cifs kernel mount options: ip=192.168.1.100,unc=\SWEETSoftware,guest,ver=1,user=,pass=********

# df -h

Filesystem                Size  Used Avail Use% Mounted on

rootfs                    369G  299G   52G  86% /

/dev/root                 369G  299G   52G  86% /

devtmpfs                  3.7G     0  3.7G   0% /dev

tmpfs                     3.7G  436K  3.7G   1% /run

shm                       3.7G  724K  3.7G   1% /dev/shm

/dev/sda1                  31M  6.5M   23M  23% /boot

/dev/sdb1                 931G  910G   21G  98% /home

/dev/sda4                 559G  553G  4.2G 100% /pub00

/dev/sdc1                 1.9T  1.8T   39G  98% /pub01

/dev/sdd1                 1.9T  1.8T   34G  99% /pub02

/dev/loop0                9.4G  9.4G     0 100% /mnt/newsf

/dev/sde1                 931G  899G   32G  97% /pubu01

/dev/sdf1                 1.9T  1.8T   20G  99% /pubu02

/dev/sdi1                 1.4T  1.4T   21G  99% /pubu03

/dev/sdj1                 1.9T  1.8T   20G  99% /pubu04

/dev/sdg1                 1.9T  1.8T   40G  98% /pubu05

/dev/sdh1                 1.4T  1.4T   16G  99% /pubu06

192.168.1.199:/home       234G  231G  2.9G  99% /mnt/slizard/home

192.168.1.199:/library    234G   85G  149G  37% /mnt/slizard/library

192.168.1.199:/pub01      931G  913G   17G  99% /mnt/slizard/pub01

192.168.1.199:/pub02      931G  896G   36G  97% /mnt/slizard/pub02

192.168.1.199:/pub03      931G  894G   38G  96% /mnt/slizard/pub03

192.168.1.199:/pub04      931G  909G   23G  98% /mnt/slizard/pub04

192.168.1.199:/pubroot    230G  177G   42G  81% /mnt/slizard/pubroot

192.168.1.197:/home       179G  101G   69G  60% /mnt/pyrotekk/home

192.168.1.197:/pub01      931G  860G   71G  93% /mnt/pyrotekk/pub01

192.168.1.197:/public     1.2T  1.1T   73G  94% /mnt/pyrotekk/public

192.168.1.197:/pubroot    179G  101G   69G  60% /mnt/pyrotekk/pubroot

192.168.1.197:/mnt/temp1  1.4T  1.4T   63G  96% /mnt/pyrotekk/temp1

192.168.1.197:/mnt/temp2  1.4T  1.4T   39G  98% /mnt/pyrotekk/temp2

//SWEET/Software           53G   18G   36G  34% /mnt/sweet.softare



Success!! We can now access file shares and printer shares on the target host computer.

This is not the ideal solution. Rather the ‘name’ of the target share host and its associated IP address is supposed to be already available on our network. Moreover, this is supposed to happen automatically.

Observations:

  • In this case SWEET (as can be seen from the nmblookup results) is the wins master browser on my local network. Yet no name/address association was available. I have had problems in the past with the wins master browser service in mixed environments. Crap happens. I should probably force configure the samba daemon on my internal network’s server (SLIZARD) to be wins master browser.
  • In home networks which use an off the shelf router to connect to the internet, it is my personal observation that local name resolution may not happen. The default configuration of the OTS router is to support DNS service pass through for queries outside of the local lan.
  • As far as I’ve experienced, all distributions perform minimalist configuration installations. This means that these minimal configuration settings may assume working services that are not actually working such as a working wins or dns service.
  • Because of things like local caching (share name and IP being retained across reboots over time), it is possible for one client PC to have no problem with making a share connection while another either loses that ability or is never able to attach the share. Don’t make the mistake of saying one PC is broken because another PC is still works.
  • In fact, said cached information can be lost due to simply performing an upgrade. It’s not that the updated programs are broken. Instead, all the cached values are cleared during the upgrade. If your wins master browser is not working properly, then your wins resolution will never happen.
  • Depending on which machine on your network is the wins master browser and the version of Windows it’s running, the strategy employed to refresh the wins master browser cache can range from stupid to really, really stupid. It is my understanding that after a wins master browser first initializes it’s cache, it won’t walk the local network again looking for new additions. Rather, it expects new additions to the local network to essentially add themselves.
  • Name resolution goes through a descending hierarchy of protocols. The last resort bottom name resolution protocol simply checks the /etc/hosts file. In theory however, explicitly specifying an IP address is supposed to always work too. I’m still surprised that my original mount command did not work. On the other hand, the added entry to the /etc/hosts file did work.
  • In my research for my issue, I encountered another known class of problems which can cause a mount error(115): Operation now in progress message. This is when the same nic (on the target share host) might be using more than one IP address. There are numerous valid circumstances for this including setting up virtual networks and the ability to add USB drives to routers for direct availability of said drives over a local network. In essence, the wins resolver associates the desired name with the wrong IP address.

The bottom line is that if you see a mount error(115): Operation now in progress message when trying to mount any cifs based network share, you most likely have a name resolution problem. Your equipment, software and physical connections are probably all fine. I re-iterate: Don’t simply assume your equipment is broken or an upgrade was faulty or even that your configuration may be incorrect. Things may actually be working as designed.

In my example, lack of an internally available DNS combined with a stupid wins master browser are the root cause.

This episode has enhanced my motivation to build (re-purpose) a custom router again with a proper DNS as well as forcing it to be th wins master browser.

Further Readings

Threads which may be of interest in terms of the above discussion and hindsight perspective:

Samba Oddities

cifs-utils: Windows share cannot be mounted anymore after dist-upgrade

Mount Error

Error -115 when mounting share (cifs)

Mounting a Windows computer with two IP addresses
_________________
People whom think M$ is mediocre, don’t know the half of it.

Back to top

View user's profile Send private message

monkeyman
n00b
n00b

Joined: 04 Sep 2013
Posts: 1

PostPosted: Wed Sep 04, 2013 10:45 pm    Post subject: Thanks! Reply with quote

I just wanted to add a brief note to firstly say thanks for the awesome tutorial

I was stumped by this issue for a while, but it turned out in my case that the issue was that there was no return route from the remote server (with the network share) back to the box I was trying to map it from. Adding a static route by running a single command on the server fixed the issue. Check out http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sag_tcpip_pro_addstaticroute.mspx?mfr=true for an example of how to do this on windows.

Back to top

View user's profile Send private message

jesnow
l33t
l33t

Joined: 26 Apr 2006
Posts: 781

PostPosted: Mon Jan 17, 2022 8:43 pm    Post subject: Reply with quote

In linux (both on client and server), I got this because I hadn’t set the address of my server in /etc/hosts.
Back to top

View user's profile Send private message

Display posts from previous:   

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Содержание

  1. CentOS
  2. Mounting CIFS shares in fstab
  3. Mounting CIFS shares in fstab
  4. Re: Mounting CIFS shares in fstab
  5. Re: Mounting CIFS shares in fstab
  6. Re: Mounting CIFS shares in fstab
  7. Re: Mounting CIFS shares in fstab
  8. Re: Mounting CIFS shares in fstab
  9. mount error(115): Operation now in progress (azure file mount won’t work due to 445 port blocked) #1592
  10. Comments
  11. Mount error 115 operation now in progress cifs centos 7

CentOS

The Community ENTerprise Operating System

Mounting CIFS shares in fstab

Post by ek123 » 2019/11/04 20:15:13

I’ve got 2 boxes running centos8, one providing samba shares to local network. These shares are accessible from windows machines without password prompting. Also, I can mount them without issue using the following syntax and I am not prompted for a password.

mount.cifs //ipaddress/share /mnt/share -o guest

However, when I attempt to mount through fstab I am unable to get the share connected; either I am prompted for password and hit enter to move on (that will work) or I am not prompted and the mount fails with

mount error(115): Operation now in progress
Refer to mount.cifs(8) manual page.

I have been digging around trying to find an option to make this work and I am stuck. Any ideas would be appreciated.

These are the 3 entries in my fstab as I’ve been tweaking and attempting other solutions which all behave similarly.

[stor]
path = /mnt/stor1
writable = yes
browsable = yes
guest ok = yes
guest only = no
create mode = 0777
directory mode = 0777

[stor2]
path = /mnt/stor2
writable = yes
browsable = yes
guest ok = yes
guest only = yes
create mode = 0777
directory mode = 0777

[stor3]
path = /mnt/stor3
writable = yes
browsable = yes
read only = no
guest ok = yes

Thanks in advance

Re: Mounting CIFS shares in fstab

Post by TrevorH » 2019/11/04 20:18:20

Re: Mounting CIFS shares in fstab

Post by ek123 » 2019/11/04 22:07:51

Re: Mounting CIFS shares in fstab

Post by TrevorH » 2019/11/04 22:21:00

Re: Mounting CIFS shares in fstab

Post by BShT » 2019/11/05 12:20:02

try credentials=/etc/smbcredentials in fstab then

# cat /etc/smbcredentials
username=youruser
password=yourpass

Re: Mounting CIFS shares in fstab

Post by ek123 » 2019/11/05 14:39:43

Well, I thought it was corrected with the path change and was able to mount everything but after a restart I’m seeing the error again.

fstab entries (I’ve tried many variations on these, but these are current)
//192.168.254.25/plex /mnt/plex/storage cifs vers=1.0,user=guest,password= 0 0
//192.168.254.25/plex2 /mnt/plex/storage2 cifs user=guest,password= 0 0

Error seen upon mount attempt
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)

dmesg
[ 1010.144200] CIFS VFS: Error connecting to socket. Aborting operation.
[ 1010.144210] CIFS VFS: cifs_mount failed w/return code = -115
[ 1010.146774] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
[ 1020.383355] CIFS VFS: Error connecting to socket. Aborting operation.
[ 1020.383366] CIFS VFS: cifs_mount failed w/return code = -115

I added vers=1.0 to the first entry based off of the dmesg output but I’m still seeing both fail to mount. I’ve read specifying the version should help, but didn’t have any luck with that so far but I’m probably just missing something.

I’ve not tried to use a credentials file, attempting to use these as anonymous shares. Should I need the credentials file?

**update**
$ sudo mount -t cifs -o username=guest,password= //192.168.254.25/plex /mnt/plex/storage
mount error(115): Operation now in progress
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
$ smbclient -L 192.168.254.25
Connection to 192.168.254.25 failed (Error NT_STATUS_IO_TIMEOUT)

smb.conf
[global]
workgroup = ELYSIUM
security = user
log level = 1
passdb backend = tdbsam

printing = cups
printcap name = cups
load printers = yes
cups options = raw

unix charset = UTF-8
dos charset = CP932
map to guest = Bad User
username map = /etc/samba/smbusers
guest account = nobody

[plex]
path = /mnt/plex-storage
writable = yes
browsable = yes
guest ok = yes
guest only = no
create mode = 0777
directory mode = 0777

[plex2]
path = /mnt/plex-storage2
writable = yes
browsable = yes
guest ok = yes
guest only = yes
create mode = 0777
directory mode = 0777

Источник

mount error(115): Operation now in progress (azure file mount won’t work due to 445 port blocked) #1592

What happened:
A pod unable to attach or mount volumes

The error:
Warning FailedMount 15s kubelet, aks-nodepool1-* (combined from similar events): MountVolume.SetUp failed for volume «pvc-» : mount failed: exit status 32
Mounting command: systemd-run
Mounting arguments: —description=Kubernetes transient mount for /var/lib/kubelet/pods/
—scope — mount -t cifs -o cache=none,dir_mode=0777,file_mode=0777,gid=1000,mfsymlinks,nobrl,uid=1000,username=,password=,vers=3.0 //.file.core.windows.net/kubernetes-dynamic-pvc- /var/lib/kubelet/pods/1*/volumes/kubernetes.io

azure-file/pvc-*
Output: Running scope as unit run-*.scope.
mount error(115): Operation now in progress
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:
Storage and Nodes are in the same region.
The nodes are in a Virtual Network
We haven’t enabled TCP 445 in our firewall, it is not clear from the documentation if is required.
The documentation we followed:
https://docs.microsoft.com/en-us/azure/aks/limit-egress-traffic#required-ports-and-addresses-for-aks-clusters
The troubleshoot documentation:
https://docs.microsoft.com/en-us/azure/storage/files/storage-troubleshoot-linux-file-connection-problems

Environment:

  • Kubernetes version:
    Client Version: version.Info
    Server Version: version.Info
  • Size of cluster: 3
  • General description of workloads in the cluster: Python Flask
  • Others: Node OS Ubuntu 16.04

The text was updated successfully, but these errors were encountered:

Источник

Mount error 115 operation now in progress cifs centos 7

Edit: Point of clarification — In the examples below, you’ll notice I use a domain name of ‘lamasondufeu’. I always make use of a domain name on mixed networks in order to enforce Windows Workgroup naming consistency. By default, Samba will use the domain name of the computer it’s running on as the ‘Windows Workgroup’ unless you explicitly provide one in smb.conf. Also by default, WinXP always uses ‘workgroup’ as it’s value for ‘Windows Workgroup’.

All computers which expect to talk to each other using Windows networking need to either be in the same Workgroup or you need to explicitly which workgroups they are allowed to talk to. Selecting a specific domain name for your network and using that as your Windows Workgroup name makes mixed networks much easier to adminster. Also, it’s considered bad security practice to leave the Windows Workgroup name at it’s default value so this is something you want to change anyway.

It’s always good policy on multi-computer local networks to pick your own domain name and stick with it for that local network. End Edit

Before we run any diagnostics, we can see one immediate problem. Note the prompt for ‘Password:’.

First tip: WinXP Home has no support for password based file shares. Password based file shares are optional for WinXP Professional. In the Windows world, all simple file shares assume there are no username/password pairs. Therefore, the above command was incorrect.

When trying to attach any simple Windows based file shares, you need to add ‘-o guest’ to the mount command. Simple in this case means no password restricted file shares which means no user authentication of any kind. Repeat: All WinXP Home based file share are simple . Most home users of WinXP Professional will also be using simple file shares as will Win 7 users whose file shares are set in WinXP compatibility mode.

The above command should look more like this:

Код:
# mount.cifs —verbose -o «guest,domain=lamasondufu» //192.168.0.100/Software /mnt/sweet.softare
mount.cifs kernel mount options: ip=192.168.0.100,unc=\192.168.0.100Software,guest,ver=1,user=,domain=lamasondufu,pass=********
mount error(115): Operation now in progress
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

This command also failed but we were no longer prompted for ‘Password’. Yeah! First problem resolved.

To head off a possible point of confusion, please note that mount -t cifs and mount.cifs are the exactly equivalent. All these examples are cut and pasted from real life.

The first diagnostic we need to run is smbtree . This will confirm everything that’s actually visible on the network from Samba’s point of view. The results should prove:

  • You have Samba correctly installed.
  • What file shares/printers are available for you to attach.

Do not run this diagnostic tool on a network with a lot of PCs. The options you should use are:

Код:
-b, —broadcast Use broadcast instead of using the master browser
-N, —no-pass Don’t ask for a password

These options will run smbtree without the need or confusion to determine who the ‘master browser’ is and restrict the output to simple shares (no password) only.

The following is a typical example from my home network:

Код:
# smbtree -b -N
LAMASONDUFEU
\SWEET Mumzie MS
\SWEETSoftware
\SWEETCanonMX3 Canon MX360 series Printer
\SWEETSharedDocs
\SWEETprint$ Printer Drivers
\SWEETIPC$ Remote IPC
\SLIZARD Samba 3.6.5
\SLIZARDHP_PhotoSmart_P1000 HP PhotoSmart P1000
\SLIZARDPHOTOSMART-P1000 HEWLETT-PACKARD PHOTOSMART P1000
\SLIZARDIPC$ IPC Service (Samba 3.6.5)
\SLIZARDprint$ Printer Drivers
\SLIZARDPUBROOT
\SLIZARDPUB04
\SLIZARDPUB03
\SLIZARDPUB02
\SLIZARDPUB01
\SLIZARDLIBRARY
\PYROTEKK Samba 3.6.5
\PYROTEKKIPC$ IPC Service (Samba 3.6.5)
\PYROTEKKPUBROOT
\PYROTEKKPUBLIC
\PYRODYNO Samba 3.6.5
\PYRODYNOIPC$ IPC Service (Samba 3.6.5)
\PYRODYNOPUBU06
\PYRODYNOPUBU05
\PYRODYNOPUBU04
\PYRODYNOPUBU03
\PYRODYNOPUBU02
\PYRODYNOPUBU01
\PYRODYNOPUBROOT
\PYRODYNOPUB02
\PYRODYNOPUB01
\PYRODYNOPUB00

If you’re on a network with more than a handful of computers, this listing can be quite long. Instead of running smbtree , you can run nmblookup . To run this command, you need an additional bit of information. That information is the IP address of the computer which hosts the file share you want to attach. As you can see from the above mount command, I have this information. There are one option you’ll want to use:

Код:
-A, —lookup-by-ip Do a node status on as an IP Address

This option reduces all the actions needed to perform the query to the barest minimum possible. This is an important point with implications I’ll address further down.

Here is a typical example of the query:

Код:
# nmblookup -A 192.168.1.100
Looking up status of 192.168.1.100
SWEET — M
LAMASONDUFEU — M
SWEET — M
LAMASONDUFEU — M

MAC Address = 00-16-76-78-E4-4F

The results show us two things:

  • We have Samba properly installed.
  • The file share host is visible on our network.

Now that we’ve verified Samba is working and that the host is visible, we’re ready to take the next diagnostic step. From both the smbtree and nmblookup commands, we know the Windows name of the host computer is SWEET. We therefore try our mount command using SWEET instead of 192.168.1.100:

Код:
# mount.cifs —verbose -o «guest,domain=lamasondufu» //SWEET/Software /mnt/sweet.softare
mount error: could not resolve address for SWEET: Unknown error

Second Tip: When one computer can’t find another computer by name, then we always punt. In this case, punting means to explicitly set up an entry in our local client’s /etc/hosts file for the target share server:

Код:
# echo «192.168.1.100 SWEET sweet sweet.lamasondufeu» >> /etc/hosts

We do this so that we rely upon only our local client and the target share host to establish a connection. It’s part of the bog standard diagnostic process to reduce number of possible failed components to the minimum needed.

Now, we try our mount command again:

Код:
# mount.cifs —verbose -o guest //SWEET/Software /mnt/sweet.softare
mount.cifs kernel mount options: ip=192.168.1.100,unc=\SWEETSoftware,guest,ver=1,user=,pass=********
# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 369G 299G 52G 86% /
/dev/root 369G 299G 52G 86% /
devtmpfs 3.7G 0 3.7G 0% /dev
tmpfs 3.7G 436K 3.7G 1% /run
shm 3.7G 724K 3.7G 1% /dev/shm
/dev/sda1 31M 6.5M 23M 23% /boot
/dev/sdb1 931G 910G 21G 98% /home
/dev/sda4 559G 553G 4.2G 100% /pub00
/dev/sdc1 1.9T 1.8T 39G 98% /pub01
/dev/sdd1 1.9T 1.8T 34G 99% /pub02
/dev/loop0 9.4G 9.4G 0 100% /mnt/newsf
/dev/sde1 931G 899G 32G 97% /pubu01
/dev/sdf1 1.9T 1.8T 20G 99% /pubu02
/dev/sdi1 1.4T 1.4T 21G 99% /pubu03
/dev/sdj1 1.9T 1.8T 20G 99% /pubu04
/dev/sdg1 1.9T 1.8T 40G 98% /pubu05
/dev/sdh1 1.4T 1.4T 16G 99% /pubu06
192.168.1.199:/home 234G 231G 2.9G 99% /mnt/slizard/home
192.168.1.199:/library 234G 85G 149G 37% /mnt/slizard/library
192.168.1.199:/pub01 931G 913G 17G 99% /mnt/slizard/pub01
192.168.1.199:/pub02 931G 896G 36G 97% /mnt/slizard/pub02
192.168.1.199:/pub03 931G 894G 38G 96% /mnt/slizard/pub03
192.168.1.199:/pub04 931G 909G 23G 98% /mnt/slizard/pub04
192.168.1.199:/pubroot 230G 177G 42G 81% /mnt/slizard/pubroot
192.168.1.197:/home 179G 101G 69G 60% /mnt/pyrotekk/home
192.168.1.197:/pub01 931G 860G 71G 93% /mnt/pyrotekk/pub01
192.168.1.197:/public 1.2T 1.1T 73G 94% /mnt/pyrotekk/public
192.168.1.197:/pubroot 179G 101G 69G 60% /mnt/pyrotekk/pubroot
192.168.1.197:/mnt/temp1 1.4T 1.4T 63G 96% /mnt/pyrotekk/temp1
192.168.1.197:/mnt/temp2 1.4T 1.4T 39G 98% /mnt/pyrotekk/temp2
//SWEET/Software 53G 18G 36G 34% /mnt/sweet.softare

Success!! We can now access file shares and printer shares on the target host computer.

This is not the ideal solution. Rather the ‘name’ of the target share host and its associated IP address is supposed to be already available on our network. Moreover, this is supposed to happen automatically.

Observations:

    In this case SWEET (as can be seen from the nmblookup results) is the wins master browser on my local network. Yet no name/address association was available. I have had problems in the past with the wins master browser service in mixed environments. Crap happens. I should probably force configure the samba daemon on my internal network’s server (SLIZARD) to be wins master browser.

In home networks which use an off the shelf router to connect to the internet, it is my personal observation that local name resolution may not happen. The default configuration of the OTS router is to support DNS service pass through for queries outside of the local lan.

As far as I’ve experienced, all distributions perform minimalist configuration installations. This means that these minimal configuration settings may assume working services that are not actually working such as a working wins or dns service.

Because of things like local caching (share name and IP being retained across reboots over time), it is possible for one client PC to have no problem with making a share connection while another either loses that ability or is never able to attach the share. Don’t make the mistake of saying one PC is broken because another PC is still works.

In fact, said cached information can be lost due to simply performing an upgrade. It’s not that the updated programs are broken. Instead, all the cached values are cleared during the upgrade. If your wins master browser is not working properly, then your wins resolution will never happen.

Depending on which machine on your network is the wins master browser and the version of Windows it’s running, the strategy employed to refresh the wins master browser cache can range from stupid to really, really stupid. It is my understanding that after a wins master browser first initializes it’s cache, it won’t walk the local network again looking for new additions. Rather, it expects new additions to the local network to essentially add themselves.

Name resolution goes through a descending hierarchy of protocols. The last resort bottom name resolution protocol simply checks the /etc/hosts file. In theory however, explicitly specifying an IP address is supposed to always work too. I’m still surprised that my original mount command did not work. On the other hand, the added entry to the /etc/hosts file did work.

  • In my research for my issue, I encountered another known class of problems which can cause a mount error(115): Operation now in progress message. This is when the same nic (on the target share host) might be using more than one IP address. There are numerous valid circumstances for this including setting up virtual networks and the ability to add USB drives to routers for direct availability of said drives over a local network. In essence, the wins resolver associates the desired name with the wrong IP address.
  • The bottom line is that if you see a mount error(115): Operation now in progress message when trying to mount any cifs based network share, you most likely have a name resolution problem. Your equipment, software and physical connections are probably all fine. I re-iterate: Don’t simply assume your equipment is broken or an upgrade was faulty or even that your configuration may be incorrect. Things may actually be working as designed.

    In my example, lack of an internally available DNS combined with a stupid wins master browser are the root cause.

    This episode has enhanced my motivation to build (re-purpose) a custom router again with a proper DNS as well as forcing it to be th wins master browser.

    Threads which may be of interest in terms of the above discussion and hindsight perspective:

    Samba Oddities
    cifs-utils: Windows share cannot be mounted anymore after dist-upgrade
    Mount Error
    Error -115 when mounting share (cifs)
    Mounting a Windows computer with two IP addresses
    _________________
    People whom think M$ is mediocre, don’t know the half of it. Вернуться к началу

    monkeyman
    n00b

    Зарегистрирован: 04 сен 2013
    Сообщений: 1

    Добавлено: ср сен 04, 2013 10:45 pm Заголовок сообщения: Thanks!
    I just wanted to add a brief note to firstly say thanks for the awesome tutorial

    I was stumped by this issue for a while, but it turned out in my case that the issue was that there was no return route from the remote server (with the network share) back to the box I was trying to map it from. Adding a static route by running a single command on the server fixed the issue. Check out http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sag_tcpip_pro_addstaticroute.mspx?mfr=true for an example of how to do this on windows.

    Вернуться к началу

    jesnow
    l33t

    Зарегистрирован: 26 апр 2006
    Сообщений: 769

    Добавлено: пн янв 17, 2022 8:43 pm Заголовок сообщения:
    In linux (both on client and server), I got this because I hadn’t set the address of my server in /etc/hosts.

    Вернуться к началу

    Вы не можете начинать темы
    Вы не можете отвечать на сообщения
    Вы не можете редактировать свои сообщения
    Вы не можете удалять свои сообщения
    Вы не можете голосовать в опросах

    Copyright 2001-2023 Gentoo Foundation, Inc. Designed by Kyle Manna © 2003; Style derived from original subSilver theme. | Hosting by Gossamer Threads Inc. © | Powered by phpBB 2.0.23-gentoo-p11 © 2001, 2002 phpBB Group
    Privacy Policy

    Источник

    Adblock
    detector

    I also posted this to Ubuntu forums, but might as well try this too.

    My Samba suddenly stopped working.

    I have a samba server, called mjolnir, at 192.168.1.22, running ubuntu 14.04, and a client, running Mint 17.1.

    Fstab is as follows:

    Code: Select all

    #SAMBA
    //192.168.1.22/ptahome    /home/pekka/pta_mjolnir        cifs    credentials=/home/pekka/.smbcredentials,noexec 0 0
    //192.168.1.22/mjolnir-rw    /home/pekka/mjolnir        cifs    credentials=/home/pekka/.smbcredentials,_netdev 0 0
    //192.168.1.22/htahome    /home/heli/hta_mjolnir        cifs    credentials=/home/heli/.smbcredentials,_netdev 0 0
    //192.168.1.22/music    /media/Music        cifs    guest,_netdev 0 0
    //192.168.1.22/pics    /media/Pics        cifs    guest,_netdev 0 0

    The samba shares are not mounted at boot. When I try to mount them with «sudo mount -a», I get this:

    Code: Select all

    pekka@Gungnirmint ~ $ sudo mount -a
    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)
    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)
    mount error(115): Operation now in progress
    Refer to the mount.cifs(8) manual page (e.g. man mount.c

    ifs)

    Mounting with smbclient also fails:

    Code: Select all

    pekka@Gungnirmint ~ $ sudo smbclient -L 192.168.1.22 -U pta
    Enter pta's password: 
    Connection to 192.168.1.22 failed (Error NT_STATUS_IO_TIMEO

    UT)

    I can ping the server:

    Code: Select all

    pekka@Gungnirmint ~ $ ping 192.168.1.22
    PING 192.168.1.22 (192.168.1.22) 56(84) bytes of data.
    64 bytes from 192.168.1.22: icmp_seq=1 ttl=64 time=0.484 ms
    64 bytes from 192.168.1.22: icmp_seq=2 ttl=64 time=0.436 ms
    64 bytes from 192.168.1.22: icmp_seq=3 ttl=64 time=0.446 ms
    ^C
    --- 192.168.1.22 ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 1998ms
    rtt min/avg/max/mdev = 0.436/0.455/0.484/0.027 m

    On the server, testparm gives this:

    Code: Select all

    Load smb config files from /etc/samba/smb.conf
    rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
    Processing section "[music]"
    Processing section "[pics]"
    Processing section "[mjolnir]"
    Processing section "[ptahome]"
    Processing section "[pinjahome]"
    Processing section "[htahome]"
    Processing section "[mjolnir-rw]"
    Loaded services file OK.
    Server role: ROLE_STANDALONE
    Press enter to see a dump of your service definitions
    
    
    [global]
        server string = Oxbacka-samba
        map to guest = Bad User
        obey pam restrictions = Yes
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
        username map = /etc/samba/smbusers
        unix password sync = Yes
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        name resolve order = lmhosts, host, wins, bcast
        dns proxy = No
        idmap config * : backend = tdb
        hosts allow = all
    
    [music]
        path = /home/pta/public/Musaa
        guest ok = Yes
    
    [pics]
        path = /home/pta/public/Kuvia
        guest ok = Yes
    
    [mjolnir]
        path = /mjolnir
        guest ok = Yes
    
    [ptahome]
        comment = Pta-home
        path = /home/pta
        valid users = pta
        read only = No
    
    [pinjahome]
        comment = Pinja-home
        path = /home/pinja
        valid users = pinja
        read only = No
    
    [htahome]
        comment = hta-home
        path = /home/hta
        valid users = hta
        read only = No
    
    [mjolnir-rw]
        comment = Mjolnirw
        path = /mjolnir
        valid users = pta
        read only = No

    I recently changed my router, this changed the ip addresses, but I think Samba has worked even after the switch.
    Not sure what to try next?

    Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.

    Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

    Понравилась статья? Поделить с друзьями:
  • Mount error 115 operation now in progress cifs centos 7
  • Mount error 112 host is down centos 7
  • Mount error 112 host is down astra linux
  • Mount error 111
  • Mount error 110