[求助]nfs配置

内核编译和嵌入式产品的设计与开发
回复
haiyin
帖子: 3
注册时间: 2009-11-14 9:42
送出感谢: 0
接收感谢: 0

[求助]nfs配置

#1

帖子 haiyin » 2010-03-10 13:07

sudo /etc/init.d/portmap restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service portmap start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start portmap
haiyin@haiyin-desktop:~$ sudo /etc/init.d/portmap restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service portmap restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart portmap
portmap start/running, process 854

sudo /etc/init.d/nfs-kernel-server start 的两项都OK。

showmount -e时出现:clnt_create: RPC: Program not registered。。。

此外,发现/etc 下 没有/dfs/dfstab目录。。。

求高手解答。。。
bryans
帖子: 1
注册时间: 2006-11-07 23:29
送出感谢: 0
接收感谢: 0

Re: [求助]nfs配置

#2

帖子 bryans » 2010-05-20 14:08

同命相连啊。 我的错误:

root@bryan-ubuntu:/etc/ssh# /etc/init.d/portmap restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service portmap restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart portmap
portmap start/running, process 690
root@bryan-ubuntu:/etc/ssh# /etc/init.d/nfs-kernel-server restart
* Stopping NFS kernel daemon [ OK ]
* Unexporting directories for NFS kernel daemon... [ OK ]
* Exporting directories for NFS kernel daemon... exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/nfsroot".
Assuming default behaviour ('no_subtree_check').
NOTE: this default has changed since nfs-utils version 1.0.x

exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/utuLinux2.6".
Assuming default behaviour ('no_subtree_check').
NOTE: this default has changed since nfs-utils version 1.0.x

[ OK ]
* Starting NFS kernel daemon [ OK ]
root@bryan-ubuntu:/etc/ssh# showmount -e

等待高人
kzy_920
帖子: 62
注册时间: 2010-03-24 16:14
送出感谢: 0
接收感谢: 0

Re: [求助]nfs配置

#3

帖子 kzy_920 » 2010-05-25 17:49

我用sudo apt-get install nfs-kernel-server安装的,配置后重启后,没有遇到这样的问题
showboy
帖子: 122
注册时间: 2006-11-26 14:41
送出感谢: 0
接收感谢: 0

Re: [求助]nfs配置

#4

帖子 showboy » 2011-07-04 22:09

sudo initctl start portmap
or
sudo initctl emit start-portmap

or
apt-get install upstart

or

apt-get install

or
apt-get install nfs-kernel-server
回复

回到 “内核及嵌入式开发”