不一样磁盘间挂载

一、受权挂载
在B服务器执行
vim /etc/exports
加入: /home/files/ *(insecure,rw,async,no_root_squash)
二、挂载命令:
mount 172.17.10.166:/home/files /home/filesvim

执行方式:
现有A、B两台机器,业务须要在A服务器上使用B服务器的磁盘。就在A服务器上执行便可把B服务器的磁盘挂载过去服务器

eg:
在A服务器上敲:mount B的ip:B的路径 A的路径async

相关文章
相关标签/搜索