On 2020-07-03 19:12, Ed Greshko wrote:
You have an entry in the fstab.  I set up my system to demonstrate......

This is "wrong".

[root@meimei etc]# mount //192.168.1.1/myUSB/ /media/smb
Password forroot@//192.168.1.1/myUSB/:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log 
messages (dmesg)

This is "right"

[root@meimei etc]# mount /media/smb
[root@meimei etc]#

[root@meimei etc]# df -t cifs
Filesystem           1K-blocks    Used Available Use% Mounted on
//192.168.1.1/myUSB/ 120686752 1107456 119579296   1% /media/smb
°
I don't understand that?

presently I have in 'etc/fstab   //192.168.50.149/home/share /media/smb    cifs    defaults,credentials=/home/bobg/cred   0 0 Which is adapted from a working line used previously in the old smb server.

and then:
[root@WS1 bobg]# mount //192.168.50.149/home/share  /media/smb
Password for bobg@//192.168.50.149/home/share:
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)

The log shows;
[bobg@WS1 ~]$ journalctl -r --since 18:56
-- Logs begin at Tue 2020-04-28 21:07:43 EDT, end at Sat 2020-07-04 18:56:17 EDT. --

Jul 04 18:56:17 WS1 kernel: CIFS VFS: cifs_mount failed w/return code = -2
Jul 04 18:56:17 WS1 kernel: CIFS VFS:  BAD_NETWORK_NAME: \\192.168.50.149\home Jul 04 18:56:17 WS1 kernel: CIFS: Attempting to mount //192.168.50.149/home/share

What's wrong with the BAD_NETWORK_NAME and I found no definition of "return code = -2" ?


--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
FEDORA-32/64bit LINUX XFCE Fastmail POP3
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to