全部博文(1493)
分类:
2012-06-14 08:43:28
原文地址:NFS远程共享配置方法 作者:zrp999
服务端配置:
在/etc/exports文件输入以下内容
/backup 10.1.112.219(rw)
保存退出.
启动nfs 服务.
[root@health /]# service nfs restart
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [ OK ]
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
客户端配置:
启动portmap服务:
[root@bjhealth vmimages]# service portmap start
Starting portmap: [ OK ]
[root@bjhealth vmimages]# mount 10.1.112.218:/backup temp
[root@bjhealth vmimages]# cd temp
[root@bjhealth temp]# ls
export health.dmp health.log log lost+found package struct sync
注意:在客户端mount之前,portmap服务必须打开。