linux Centos 6.9服务器之间文件共享挂载 目的:因为服务器设置了负载均衡,多服务器的文件上传必然要同步,这里的目的把服务器1设置为主文件服务器 服务器1:192.168.1.100(共享) 服务器2:192.168.1.20(挂载) 1.两台服务器都需要安装nfs以及依赖 ①安装nfs服务 yum install nfs-utils ②开机服务 chkconfig rpcbind on chkconfig nfs on ③启动服务 service rpcbind start ser
最近新装CentOS 7,发现原先CentOS 6.3下可用的一块ARM Dev board不能用了,表现为VFS mount挂载rootfs失败. 使用WireShark发现,服务器对client发来的NFS RPC返回reply "Can't support version #2" (在reply的verifier字段中). man nfsd告诉我们,可通过向rpc.nfsd传递参数来控制nfsd支持的协议版本. CentOS 7使用systemctl管理服务,对这个不熟悉,于是使