- 论坛徽章:
- 0
|
大家好,最近我刚刚接触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) |
|