服务器端----->>客户端

1. 服务器端

[root@allentuns ~]# ifconfig |grep "Bcast"

inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0

[root@allentuns ~]# cd /web/htdocs/

[root@allentuns htdocs]# ls

[root@allentuns htdocs]# cat /etc/issue >>  index.html

[root@allentuns htdocs]# ll

total 4

-rw-r--r--. 1 root root 47 May  3 19:06 index.html

2. 查看是否同步到客户端

[root@allentuns ~]# ifconfig |grep "Bcast"

inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0

[root@allentuns ~]# cd /mnt/

[root@allentuns mnt]# ll

total 4

-rw-r--r--. 1 root root 47 May  3 19:06 index.html

客户端----->>服务器端

1. 客户端创建文件

[root@allentuns mnt]# ifconfig |grep "Bcast"

inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0 [root@allentuns mnt]# touch test.php

[root@allentuns mnt]# ll

-rw-r--r--. 1 root       root       47 May  3 19:06 index.html

-rw-r--r--. 1 nfsnobody nfsnobody  0 May  3 19:10 test.php

2. 服务器端看是否已经同步

[root@allentuns htdocs]# ifconfig |grep "Bcast"

inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0 [root@allentuns htdocs]# ll

total 4

-rw-r--r--. 1 root       root       47 May  3 19:06 index.html

-rw-r--r--. 1 nfsnobody nfsnobody  0 May  3 19:10 test.php

以上两点证明:nfs 服务器端到客户端是双向同步的!!!

最新文章

  1. @dynamic 模拟NSManagedObject类的内部实现,AFN的非常规用法
  2. 玩转CSS3,嗨翻WEB前端,CSS3伪类元素详解/深入浅出[原创][5+3时代]
  3. 在Asp.Net MVC中PartialView与EditorFor和DisplayFor的区别
  4. 装饰模式(Decorate Pattern)
  5. Servlet、MySQL中文乱码
  6. 一、 Socket之UDP异步传输文件
  7. PHP数组操作汇总
  8. NGUI 3.5课程(五岁以下儿童)button-图片切换
  9. java课程设计-算术运算测试
  10. 自定义组件的properties和data
  11. iTOP-4418开发板Qt系统下运行摄像头测试程序
  12. Linux CenterOS安装mysql-5.6.12-linux-glibc2.5-x86_64.tar.gz步骤
  13. Numpy 定义矩阵的方法
  14. 前端学习 -- Css -- 字体的几个属性学习
  15. 迭代dict的value
  16. static关键字的总结
  17. PAT 甲级 1054 The Dominant Color
  18. mysql数据的导入与导出
  19. Vuejs methods how to use
  20. PAT-A Java实现

热门文章

  1. 主流Linux可视化运维面板&安装包
  2. WebServices 实现跨应用程序进行通信和跨平台进行通信
  3. navigator组件(相当于a标签)
  4. Apache2.4+PHP7.2环境搭建
  5. spring boot配置项profiles active
  6. postman连接mysql执行操作
  7. Monte Carlo Control
  8. 前端 CSS的选择器 基本选择器
  9. lesson2-完全图、补图和顶点度
  10. SpringBoot内嵌数据库的使用(H2)