unable to mount SMB share on Centos

indgepr

Cadet
Joined
Mar 14, 2023
Messages
2
I have created a SMB share on Truenas, I can acess it from both Windows and Mac but cannot mount it from a Centos Machine

I am using the command

sudo mount -t cifs -o username=indgepr //192.168.0.73/mnt/Gin/Pictures /mnt/win_share/

it Asks for the password for the username and then gives the error

mount error(2): No such file or directory

The user and password are correct, if I enter them incorrectly I get an permission denied error, also if I enter the /mnt/winshare/ incorrectly I also get a different error

testparm -s gives an entry
path = /mnt/Gin/Pictures

Any ideas what I am doing wrong,

Thanks

Phil
 
Top