Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1769571
  • 博文数量: 276
  • 博客积分: 1574
  • 博客等级: 上尉
  • 技术积分: 2894
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-26 23:23
个人简介

生活的美妙在于,不知道一下秒是惊艳还是伤神,时光流转,珍惜现在的拥有的时光

文章分类

全部博文(276)

文章存档

2017年(17)

2016年(131)

2015年(63)

2013年(2)

2012年(32)

2011年(31)

分类: 虚拟化

2016-03-09 23:08:43


问题:
[root@hosted_engine_1 /]# mount -t glusterfs 192.168.184.11:/Govirt gluster/
[root@hosted_engine_1 gluster]# touch afaf
touch: cannot touch ‘afaf’: Read-only file system


解决:
日志报错:
[2016-03-09 10:32:31.626006] I [rpc-clnt.c:1847:rpc_clnt_reconfig] 4-Govirt-client-4: changing port to 49152 (from 0)
[2016-03-09 10:32:31.631268] E [socket.c:2278:socket_connect_finish] 4-Govirt-client-4: connection to 192.168.184.14:49152 failed (No route to host)
防火墙打开49152端口解决   
[root@hosted_engine_1 test]# vim /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 49152 -j ACCEPT   
-A INPUT -m state --state NEW -m tcp -p tcp --dport 24007 -j ACCEPT
[root@hosted_engine_1 test]# systemctl restart iptables

[root@hosted_engine_1 /]# mkdir /gluster/test
[root@hosted_engine_1 test]# cd /gluster/test/
[root@hosted_engine_1 test]# touch afaf
[root@hosted_engine_1 test]# ll
total 0
-rw-r--r-- 1 root root 0 Mar  9 23:00 afaf
[root@hosted_engine_1 test]# rm afaf
rm: remove regular empty file ‘afaf’? y
阅读(3615) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~