树莓派Raspbian的NFS服务无法挂载

date: 2014.11.18; modification:2014.11.18

目录:

1 问题:

sudo service 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).

2 解决:

sudo update-rc.d rpcbind enable && update-rc.d nfs-common enable
sudo service rpcbind restart

在网上查的这两条命令, 不知道哪条其作用了, 不过执行完了, 在其他机器就能挂载了.