2012年(101)
分类: LINUX
2012-06-12 22:17:38
服务端配置:
在/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服务必须打开。