I have a Ubuntu 16.04 64-bit home server and I followed this guide to set up the NFS server. My problem is that I'm trying to connect (on my desktop) to it via IP address as the code below:
sudo mount 192.168.1.126/exports /local/ubuntu
But when I do, I get this:
mount: special device 192.168.1.126/exports does not exist
Is there a way to connect via IP address only or do you must have a domain and an address?
You are missing a colon (
:
) after the remote server IP:Assuming the remote server (
192.168.1.126
) has exported/exports
and you are mounting it on/local/ubuntu
.Although, the preferred solution is to add the mount in
/etc/fstab
so that you do not have to mount it manually everytime. Alsonfs
provides a whole bunch of options while mounting, these provide more finer control over the mount, look atman 5 nfs
.