###############################images设置
nfs设置:
48设置:
vim /etc/exports
/mnt/license_images 10.30.93.76(rw,sync)
/mnt/license_images/new_disk 10.30.93.76(rw,sync)
/mnt/license_images 10.80.48.22(rw,sync)
/mnt/license_images/new_disk 10.80.48.22(rw,sync)
刷新命令: exportfs -rv
p端设置:
yum -y install nfs-utils rpcbind
mount -t nfs -o nolock,nfsvers=3,vers=3 10.251.198.213:/mnt/license_images /mnt/license_images
mount -t nfs -o nolock,nfsvers=3,vers=3 10.251.198.213:/mnt/license_images/new_disk /mnt/license_images/new_disk
-------------------------------------
############################项目代码层设置
p1设置:
/mnt/630manage 10.80.48.22(rw,sync)
systemctl start nfs-server.service
p2设置:
nfs设置:
48设置:
vim /etc/exports
/mnt/license_images 10.30.93.76(rw,sync)
/mnt/license_images/new_disk 10.30.93.76(rw,sync)
/mnt/license_images 10.80.48.22(rw,sync)
/mnt/license_images/new_disk 10.80.48.22(rw,sync)
刷新命令: exportfs -rv
p端设置:
yum -y install nfs-utils rpcbind
mount -t nfs -o nolock,nfsvers=3,vers=3 10.251.198.213:/mnt/license_images /mnt/license_images
mount -t nfs -o nolock,nfsvers=3,vers=3 10.251.198.213:/mnt/license_images/new_disk /mnt/license_images/new_disk
-------------------------------------
############################项目代码层设置
p1设置:
/mnt/630manage 10.80.48.22(rw,sync)
systemctl start nfs-server.service
p2设置:
mount -t nfs 10.30.93.76:/mnt/630manage /mnt/630mamage
本文转自 msj0905 51CTO博客,原文链接:http://blog.51cto.com/sky66/1962438