cat /etc/fstab

linux上文件挂载的案例-LMLPHP

将172.20.20.117上的172.20.20.117:/data/nfs/zichan/目录挂载到172.20.20.112机器上,其实类似目录共享

在需要挂载的机器上执行mount -a

linux上文件挂载的案例-LMLPHP

linux上文件挂载的案例-LMLPHP

参考:

https://blog.csdn.net/lynnlycs/article/details/89136520

https://blog.csdn.net/daha1314/article/details/84860855

05-27 23:32