Friends--
Have been working all day on this puzzle and not getting my samba shares mounted.
Here is the /srv directory on bach:
Code:
doug@bach:~$ ls -alh /srv
total 28K
drwxr-xr-x 7 root root 4.0K Aug 30 15:12 .
drwxr-xr-x 23 root root 4.0K Aug 12 13:20 ..
drwxr-xr-x 5 root root 4.0K Aug 26 14:52 apps
drwxr-xr-x 35 root root 4.0K Aug 29 19:45 backups1
drwxr-xr-x 4 root root 4.0K Aug 4 22:46 current
drwxrws--- 29 doug personal 4.0K May 23 21:22 personal
drwxr-xr-x 2 root root 4.0K Aug 30 15:12 test
doug@bach:~$ sudo lsattr /srv
[sudo] password for doug:
--------------e------- /srv/current
--------------e------- /srv/apps
--------------e------- /srv/test
--------------e------- /srv/backups1
--------------e------- /srv/personal
I have tried to mount these shares from 4 different clients, two are 22.04.1, and two are 18.04.6. On each of these clients I can mount current and /apps, but not the other directories.
Code:
doug@wind:~$ sudo mount -vvv /sam/personal/
[sudo] password for doug:
mount.cifs kernel mount options: ip=192.168.0.205,unc=\\bach\personal,nobrl,uid=1000,gid=1000,user=doug,pass=********
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
doug@wind:~$ sudo dmesg -T
[Tue Aug 30 17:48:56 2022] CIFS: Attempting to mount \\bach\personal
[Tue Aug 30 17:48:56 2022] CIFS: VFS: BAD_NETWORK_NAME: \\bach\personal
[Tue Aug 30 17:48:56 2022] CIFS: VFS: cifs_mount failed w/return code = -2
root@wind:~# smbclient -L bach
Password for [WORKGROUP\root]:
Sharename Type Comment
--------- ---- -------
apps Disk
current Disk
IPC$ IPC IPC Service (bach server (Samba, Ubuntu))
SMB1 disabled -- no workgroup available
The relevant part of the fstab look like this:
Code:
//bach/personal /sam/personal cifs rw,nobrl,mand,user,credentials=/root/.bachcredentials,uid=doug,gid=doug 0 0
//bach/apps /sam/apps cifs rw,nobrl,mand,user,credentials=/root/.bachcredentials,uid=doug,gid=apps 0 0
//bach/current /sam/current cifs rw,nobrl,mand,user,credentials=/root/.bachcredentials,uid=doug,gid=data 0 0
Looking at these it appears to me the problem lies with the server. But I don't know what to do to mount these other shares.
What should I try next, please?
Thank you!
Bookmarks