Need help on Samba mount error 2 No such directory or file
I am trying to mount a Samba share and have encountered the following error.
The command used to mount the share is: > sudo mount -t cifs //<Samba IP>/smb /mnt/smb -o user=<UserName>,password=<Password>,vers=3.0 The message returned is mount error(2): no such file or directory. The strange thing is I am able to use the GUI to access the Samba folder via smb://. Ping and telnet work too. The /mnt/smb directory exists as well. The OS is RHEL 7.8 (Maipo) and the kernel version is 3.10.0-1127. For the OS, both the firewall and SELinux have been disabled. Both cifs and keyutils have been installed as well. I have done plenty of google searches but to no avail. Are there other OS configs or command options to look at? |
Quote:
|
mounting nfs is not the same as cifs. nfs uses the syntax
Code:
nfs_server:/share/name Code:
//IP address/share_name smbclient -L IP_address What distribution/version is running on the host. Any recent updates or changes? |
:doh: Doh
That is what I get for not reading and thinking nfs instead. |
Hello, I would like to update this thread. The cause of the error is due to FIPS being enabled, which blocks cifs from working properly. After disabling FIPS, the samba share could be mounted successfully.
|
All times are GMT -5. The time now is 12:05 AM. |