1、授权挂载
在B服务器执行
vim /etc/exports
加入: /home/files/ *(insecure,rw,async,no_root_squash)
2、挂载命令:
mount 172.17.10.166:/home/files /home/files
执行方式:
现有A、B两台机器,业务需要在A服务器上使用B服务器的磁盘。就在A服务器上执行即可把B服务器的磁盘挂载过去
eg:
在A服务器上敲:mount B的ip:B的路径 A的路径
1、授权挂载
在B服务器执行
vim /etc/exports
加入: /home/files/ *(insecure,rw,async,no_root_squash)
2、挂载命令:
mount 172.17.10.166:/home/files /home/files
执行方式:
现有A、B两台机器,业务需要在A服务器上使用B服务器的磁盘。就在A服务器上执行即可把B服务器的磁盘挂载过去
eg:
在A服务器上敲:mount B的ip:B的路径 A的路径