NFS

centos 6(在CentOS 6.5当中,portmap服务由rpcbind负责) :

1
yum -y install nfs-utils rpcbind

====================

yum install portmap nfs-utils-lib nfs-utils
service portmap start
service nfs start
vi /etc/exports
service portmap start
service nfs start
vi /etc/exports
showmount -e 192.168.1.XXX
mount
exportfs
vi /etc/exports
service portmap restart
service nfs restart
exportfs

vi /etc/exports
mount -t nfs 192.168.1.YYY:/u01/rman /u01/rman

 

vi /etc/exports
service portmap start
service nfslock start
service nfs start
showmount -e
showmount -e
more /etc/exports
showmount -e

 

 

service portmap restart
service nfs restart
showmount -e 192.168.1.YYY
mount -t nfs 192.168.1.YYY:/dataBak_nfs /
mount -t nfs 192.168.1.YYY:/dataBak_nfs /dataBak_nfs
mkdir dataBak_nfs
mount -t nfs 192.168.1.YYY:/dataBak_nfs /dataBak_nfs
cd /dataBak_nfs/

# vi /etc/rc.d/rc.local

service portmap start
service nfs start
mount -t nfs 192.168.1.YYY:/dataBak_nfs /dataBak_nfs

 

 

posted @ 2012-08-21 15:22  陳聽溪  阅读(256)  评论(0编辑  收藏  举报