centos7 nfs挂载设置

简介:
###############################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设置:

mount -t nfs  10.30.93.76:/mnt/630manage /mnt/630mamage



本文转自 msj0905 51CTO博客,原文链接:http://blog.51cto.com/sky66/1962438

相关文章
|
1月前
|
Linux Shell Windows
通过Linux挂载Windows端NFS服务实现板端Linux传输文件到PC
通过Linux挂载Windows端NFS服务实现板端Linux传输文件到PC
|
2月前
|
Linux 数据安全/隐私保护
CentOS设置IP地址的方法
CentOS设置IP地址的方法
489 0
|
4月前
|
存储 Linux 虚拟化
CentOS 7搭建NFS服务器
CentOS 7搭建NFS服务器
106 0
|
4月前
|
弹性计算 Serverless 网络安全
于在阿里云函数计算中挂载NFS共享时出现了问题
于在阿里云函数计算中挂载NFS共享时出现了问题
53 1
|
3月前
|
Unix Linux 文件存储
文件传输、文件挂载MOUNT:NFS、CIFS、ADB、SAMBA
文件传输、文件挂载MOUNT:NFS、CIFS、ADB、SAMBA
65 0
|
6月前
|
开发工具 对象存储
nfs挂载报错问题
nfs挂载报错问题
|
4月前
|
网络协议 Unix Linux
Centos下nfs+rpcbind实现服务器之间的文件共享
Centos下nfs+rpcbind实现服务器之间的文件共享
93 0
|
6月前
|
Linux
百度搜索:蓝易云【Centos系统服务器设置时间自动同步!】
通过以上步骤,您可以在CentOS系统服务器上设置时间自动同步。NTP服务将定期与配置的NTP服务器进行通信,以确保系统时间的准确性和同步。
719 0
|
6月前
|
关系型数据库 Linux PostgreSQL
Linux centos8 docker中安装postgresql12.4及远程访问设置
Linux centos8 docker中安装postgresql12.4及远程访问设置
358 0
|
10天前
|
缓存 Linux
linux centos7 挂载本地iso yum源
linux centos7 挂载本地iso yum源
51 0