[FIX] Mount SMB share without specifying shared directory in remote path


I was about to change mount from “//192.168.1.x/SomeFolder” to “//192.168.1.x/” so i could choose which dataset i want to access with my docker containers.

It gave me error like:

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)

Any ideas how to mount remote SMB share without specifying dataset / folder?

PS: this is the mounting command i’m using:
sudo mount -t cifs -o rw,vers=3.0,credentials=REDACTED // /mnt/NAS

Click Here to see answer

payam 1 week 2022-09-23T10:23:34+00:00 0 Answers 1 views

Leave an answer

By answering, you agree to the Terms of Service and Privacy Policy.