免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5082 | 回复: 4
打印 上一主题 下一主题

[mooseFS] moosefs 容错测试问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-10-10 16:17 |只看该作者 |倒序浏览
大家好,最近我刚刚接触moosefs,对moosefs也在做一些相关的测试。目前在测试moosefs的容错性时出现一些问题,始终找不到问题的头绪,在这里还请各位大神给我点帮助,谢谢!
闲话少说,我大致讲下我的环境与测试过程。
环境:
1台master server
1台metalogger
2台chunkserver
1台client

搭建过程略去,都是参考的网上各位大神的文档。

测试过程:
1、在客户端使用mfsmount挂载
2、设置 goal 值为2.
3、通过客户端服务器创建几个示例文件和目录
4、确认已经同步后,将hunkserver1 关机,
5、然后再创建几个文件。
6、启动被关机的chunkserver1,将chunkserver2 关机。
7、查看、修改、新建文件。

在进行第7步时,发现修改与新建文件都有问题,问题情况:
1、在修改文件后,保存文件时,系统没有响应。
2、新建文件后,保存文件时,系统没有响应。
查看客户端的系统日志/var/log/messages
Oct 10 14:50:40 mfs-client mfsmount[2913]: writeworker: write error: 26
Oct 10 14:50:45 mfs-client mfsmount[2913]: can't connect to (AC1404CA:9422): ETIMEDOUT (Operation timed out)
Oct 10 14:50:52 mfs-client mfsmount[2913]: can't connect to (AC1404CA:9422): ETIMEDOUT (Operation timed out)
Oct 10 14:50:54 mfs-client mfsmount[2913]: writeworker: write error: 26
Oct 10 14:50:56 mfs-client mfsmount[2913]: writeworker: write error: 26
Oct 10 14:51:02 mfs-client mfsmount[2913]: can't connect to (AC1404CA:9422): ETIMEDOUT (Operation timed out)
Oct 10 14:51:05 mfs-client mfsmount[2913]: writeworker: write error: 26
Oct 10 14:51:13 mfs-client mfsmount[2913]: can't connect to (AC1404CA:9422): ETIMEDOUT (Operation timed out)
Oct 10 14:51:16 mfs-client mfsmount[2913]: writeworker: write error: 26
Oct 10 14:51:20 mfs-client mfsmount[2913]: writeworker: write error: 26
Oct 10 14:51:29 mfs-client mfsmount[2913]: can't connect to (AC1404CA:9422): ETIMEDOUT (Operation timed out)
Oct 10 14:51:36 mfs-client mfsmount[2913]: can't connect to (AC1404CA:9422): ETIMEDOUT (Operation timed out)
Oct 10 14:51:41 mfs-client mfsmount[2913]: writeworker: write error: 26
Oct 10 14:51:57 mfs-client last message repeated 3 times
Oct 10 14:52:08 mfs-client mfsmount[2913]: can't connect to (AC1404CA:9422): ETIMEDOUT (Operation timed out)
Oct 10 14:52:19 mfs-client mfsmount[2913]: can't connect to (AC1404CA:9422): ETIMEDOUT (Operation timed out)
Oct 10 14:52:26 mfs-client mfsmount[2913]: writeworker: write error: 26
Oct 10 14:52:37 mfs-client mfsmount[2913]: can't connect to (AC1404CA:9422): ETIMEDOUT (Operation timed out)
Oct 10 14:53:01 mfs-client last message repeated 2 times
Oct 10 14:53:09 mfs-client mfsmount[2913]: writeworker: write error: 26
Oct 10 14:53:22 mfs-client mfsmount[2913]: can't connect to (AC1404CA:9422): ETIMEDOUT (Operation timed out)
Oct 10 14:53:31 mfs-client mfsmount[2913]: writeworker: write error: 26
Oct 10 14:53:45 mfs-client mfsmount[2913]: can't connect to (AC1404CA:9422): ETIMEDOUT (Operation timed out)
Oct 10 14:54:13 mfs-client last message repeated 2 times
Oct 10 14:54:23 mfs-client mfsmount[2913]: writeworker: write error: 26
Oct 10 14:54:33 mfs-client mfsmount[2913]: writeworker: write error: 26
Oct 10 14:54:33 mfs-client mfsmount[2913]: error writing file number 7: EIO (Input/output error)

论坛徽章:
0
2 [报告]
发表于 2013-02-05 21:31 |只看该作者
如果是高并发,是不是操作系统的网络连接部分没有优化。

论坛徽章:
0
3 [报告]
发表于 2013-10-15 13:18 |只看该作者
不是高并发,只是一个无压力的测试环境
回复 3# dongfengshemaer


   

论坛徽章:
0
4 [报告]
发表于 2016-12-28 15:51 |只看该作者
回复 1# liheng

楼主,这种情况后来有解决吗? 网上这种资料太少了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP