I thought it was solved, but I still having some problems.
After a separate reboot one of the raspberry's won't mount.
As far as I can mention are both configured the same:
in exports of raspberry1:
Code: Select all
ewh@raspberrypi-1 ~ $ cat /etc/exports
/home/ewh 192.168.2.201(rw) 192.168.2.186(rw)
In exports of raspberry2:
Code: Select all
ewh@raspberrypi-2 ~ $ cat /etc/exports
/home/ewh 192.168.2.185(rw) 192.168.2.200(rw)
In fstab raspberyy1
Code: Select all
ewh@raspberrypi-1 ~ $ cat /etc/fstab
192.168.2.201:/home/ewh /mnt/PI nfs rw 0 0
In fstab raspberry2:
Code: Select all
ewh@raspberrypi-2 ~ $ cat /etc/fstab
192.168.2.185:/home/ewh /mnt/PI nfs rw 0 0
After restart raspberry2 it is not mounted.
By trying: sudo mount -av an error occurs connection refused:
Code: Select all
ewh@raspberrypi-2 ~ $ sudo mount -av
mount: proc already mounted on /proc
mount: /dev/mmcblk0p5 already mounted on /boot
mount: //192.168.2.100/NetwerkSchijf/Edward/BackupRasp already mounted on /mnt/NAS
mount.nfs: timeout set for Sat Apr 4 09:56:09 2015
mount.nfs: trying text-based options 'vers=4,addr=192.168.2.185,clientaddr=192.168.2.201'
mount.nfs: mount(2): Connection refused
By typing showmount next happened:
Code: Select all
ewh@raspberrypi-2 ~ $ showmount -e 192.168.2.185
clnt_create: RPC: Program not registered
Only after manualy restarting nfs server the mount will succeed:
Code: Select all
sudo service nfs-kernel-server restart
What can cause this problem?