Canedje
Posts: 265
Joined: Thu Mar 26, 2015 7:18 am

mounting to other RPI not working

Thu Oct 27, 2016 8:14 pm

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?
Last edited by Canedje on Thu Oct 27, 2016 8:31 pm, edited 1 time in total.

User avatar
rpdom
Posts: 17173
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: mounting to other RPI not working

Thu Oct 27, 2016 8:30 pm

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.

Canedje
Posts: 265
Joined: Thu Mar 26, 2015 7:18 am

Re: mounting to other RPI not working

Thu Oct 27, 2016 8:34 pm

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?

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: mounting to other RPI not working

Thu Oct 27, 2016 8:47 pm

Try this: https://help.ubuntu.com/lts/serverguide ... ystem.html it's close enough because Ubuntu is a DebIan derivative.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Canedje
Posts: 265
Joined: Thu Mar 26, 2015 7:18 am

Re: mounting to other RPI not working

Thu Oct 27, 2016 8:59 pm

Thanks.
I figured it out. It's working now!!

Return to “Troubleshooting”