I'm trying to mount my NAS using this command: `sudo mount 192.168.254.60:/public /mnt/nas`, but I keep encountering some errors. The console says: `mount: /mnt/nas: fsconfig() failed: NFS: mount program didn't pass remote address.` Additionally, the output from `dmesg` shows: `CIFS: Attempting to mount //192.168.254.60/Public`, and then `CIFS: VFS: 192.168.254.60 failed to connect to IPC (rc=-13)` and `CIFS: VFS: cifs_mount failed w/return code = -13`. I can ping the NAS without issues and access the admin page via my browser. Can anyone help?
3 Answers
Do you have `nfs-utils` installed on your system? Make sure you have the right packages to support NFS mounting.
You need to be careful with the mount command syntax. For NFS, try this: `sudo mount -vvv -t nfs 192.168.254.60:/public /mnt/nas`. The `-vvv` flag gives you verbose output, which can help debug any issues. Also, ensure that NFS is enabled on the NAS and that your client can access it. If you're using CIFS, it might be worth checking this guide for specific command usage: [how to](https://forums.linuxmint.com/viewtopic.php?p=2224687#p2224687). Fixing the mount command first could really help you out!
Have you considered adding an entry in your fstab? It can simplify mounting shared locations. Check out this guide for help: https://obie.hashnode.dev/ubuntu-server-permanently-mounting-samba-shares. That might make things way easier for you!
Thanks for the tip! I’ll check that guide out.

I’ve got `libnfs-utils/stable 5.0.2-1+b2 amd64` installed.