当前位置: 技术问答>linux和unix
linux下nfs 问题!
来源: 互联网 发布时间:2016-12-28
本文导语: 在启动nfs时候出现以下问题,求详细解答! [root@localhost /]# service portmap restart portmap: unrecognized service[root@localhost /]# service nfs start Starting NFS services: exportfs: No options for /work/fs*(rw,no_root_squash,sync) : suggest (syn...
在启动nfs时候出现以下问题,求详细解答!
[root@localhost /]# service portmap restart
portmap: unrecognized service[root@localhost /]# service nfs start
Starting NFS services: exportfs: No options for /work/fs*(rw,no_root_squash,sync) : suggest (sync) to avoid warning
exportfs: Warning: /work/fs*(rw,no_root_squash,sync) does not exist
[ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
[root@localhost /]#
[root@localhost /]# service portmap restart
portmap: unrecognized service[root@localhost /]# service nfs start
Starting NFS services: exportfs: No options for /work/fs*(rw,no_root_squash,sync) : suggest (sync) to avoid warning
exportfs: Warning: /work/fs*(rw,no_root_squash,sync) does not exist
[ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
[root@localhost /]#
|
1、service portmap restart,不太了解。
2、/work/fs*(rw,no_root_squash,sync),这里的某个地方是不是应该有个空格?
2、/work/fs*(rw,no_root_squash,sync),这里的某个地方是不是应该有个空格?
|
、/work/fs *(rw,no_root_squash,sync),fs和*中间加一个空格
|
这行应该在/etc/exports文件里
|
portmap: unrecognized service
没有portmap这个服务.
没有图形管理工具么, 我一般用图形的.
没有portmap这个服务.
没有图形管理工具么, 我一般用图形的.