Fighting New NFS Server Setup - Raspberry Pi Forums


i want setup pi nfs server. have (client) pi connects nas using nfs. but, when try connect client pi new server pi, connection hangs , times out. i've tried several ways same results. so, i'm asking help.

process:

set pi nfs server:

install 2016-02-09-raspbian-jessie.img microsd card
boot pi
ssh pi
setup configuration

code: select all

sudo raspi-config
reboot
ssh pi
update installation , install nfs server

code: select all

sudo apt-get -y update && sudo apt-get -y upgrade sudo apt-get install nfs-common nfs-server -y response:  note, selecting 'nfs-kernel-server' instead of 'nfs-server'
make share directory , test file

code: select all

sudo mkdir /mnt/nfsserver sudo touch /mnt/nfsserver/testfile sudo chmod -r 777 /mnt/nfsserver
export share directory (i know isn't particularly secure, come after works):

code: select all

sudo nano /etc/exports  enter following: /mnt/nfsserver  *(rw,sync,insecure,no_root_squash,no_subtree_check)  sudo exportfs
for measure:

code: select all

sudo reboot
on separate client pi connects every day nas using nfs:

make mount point

code: select all

sudo mkdir /mnt/test
mount share pi server

code: select all

sudo mount -t nfs 192.168.8.133:/mnt/nfsserver /mnt/test
this sits long time , then:

code: select all

mount.nfs: connection timed out
appreciate pointers getting working.

thanks.

is on jessie or wheezy?
there's known problem boot sequence of daemons.

try

code: select all

sudo systemctl restart rpcbind sudo systemctl restart nfs-kernel-server 
command line , see if can connect share after that.


raspberrypi



Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code