Page 1 of 1

mounting to other RPI not working

Posted: Thu Oct 27, 2016 8:14 pm
by Canedje
I'll try to mount one RPI directory to an other RPI.

I did create the directory: /mnt/PI
and added a line into /etc/fstab: //192.168.2.185:/home/ewh /mnt/PI nfs rw 0 0
where "//192.168.2.185j
:/home/ewh" is the mounted directory at the other RPI.
After reboot or mount -a command there is still no mount.
errorcode:
mount.nfs: Failed to resolve server //192.168.2.185: Name or service not known


What am I doing wrong?

Re: mounting to other RPI not working

Posted: Thu Oct 27, 2016 8:30 pm
by rpdom
Have you set up the NFS share on the other Pi? If not, you won't be able to connect to it.

If you're following a tutorial somewhere, please provide a link to it so we can check it is correct.

Re: mounting to other RPI not working

Posted: Thu Oct 27, 2016 8:34 pm
by Canedje
No that will be the problem.

How to create this set up the NFS share on the other Pi? Or where to find a good tutorial?

Re: mounting to other RPI not working

Posted: Thu Oct 27, 2016 8:47 pm
by DougieLawson
Try this: https://help.ubuntu.com/lts/serverguide ... ystem.html it's close enough because Ubuntu is a DebIan derivative.

Re: mounting to other RPI not working

Posted: Thu Oct 27, 2016 8:59 pm
by Canedje
Thanks.
I figured it out. It's working now!!