Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Problem with NFS server on RPi
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem with NFS server on RPi
22nd Feb, 2015, 12:06 PM
Post: #1
Wawrzek Offline
Registered
Posts: 5
Joined: Sep 2014
Reputation: 0
Problem with NFS server on RPi
I have the XBIAN on a RPi and I cannot start NFS server properly. I noticed that the /etc/init.d/rpcbind does not exist. That seems to be rather important file, base on Google results.

That my error message at RPi:
Code:
# /etc/init.d/nfs-kernel-server restart
[ ok ] Stopping NFS kernel daemon: mountd nfsd.
[ ok ] Unexporting directories for NFS kernel daemon....
[ ok ] Exporting directories for NFS kernel daemon....
[....] Starting NFS kernel daemon: nfsd
[warn] Not starting: portmapper is not running ... (warning).


And on a client I see:
Code:
mount.nfs4: trying text-based options 'rsize=32768,wsize=32768,addr=192.168.0.2,clientaddr=192.168.0.10'
mount.nfs4: mount(2): Connection refused
mount.nfs4: Connection timed out
Find all posts by this user
Quote this message in a reply
26th Feb, 2015, 09:49 AM
Post: #2
Wawrzek Offline
Registered
Posts: 5
Joined: Sep 2014
Reputation: 0
RE: Problem with NFS server on RPi
I managed the address the problem of missing rpcbind file. There is something wrong with xbian-update, but after downloading rpcbind package and unpacking it with dpkg

Code:
# apt-get download rpcbind                          
Get:1 Downloading rpcbind 0.2.0-8 [42.7 kB]
Fetched 42.7 kB in 0s (127 kB/s)  
# dpkg  --unpack rpcbind_0.2.0-8_armhf.deb                    
(Reading database ... 27598 files and directories currently installed.)
Preparing to replace rpcbind 0.2.0-8 (using rpcbind_0.2.0-8_armhf.deb) ...
Unpacking replacement rpcbind ...
Replaced by files in installed package xbian-update ...
Processing triggers for man-db ...

I got rpcbind.dpkg-new. A bit of configuration and rpcbind works fine:

Code:
mv  /etc/init.d/rpcbind.dpkg-new /etc/init.d/rpcbind
update-rc.d rpcbind defaults 15

But still not 100% luck with nfs-server.

Actually problem is fix now. The rest was wrong configuration in /etc/exports on server and /etc/fstab on client.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 13th May, 2025, 12:40 AM Powered By MyBB, © 2002-2025 MyBB Group.