免费注册 查看新帖 |

Chinaunix

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

[FastDFS] FastDFS文件同步错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-07-07 18:48 |只看该作者 |倒序浏览
我分别安装了两个FastDFS服务器程序到两台服务器上面,以前工作一直很正常,最近发现两边存储服务器一直报错误。同时发现两台服务器的文件并不一致,没有正常同步。求解决方案。
日志如下。

[2014-07-07 18:26:31] ERROR - file: storage_service.c, line: 8151, client ip: 111.111.163.162, unkown cmd: -93
[2014-07-07 18:26:32] INFO - file: storage_sync.c, line: 2698, successfully connect to storage server 111.111.163.162:23000
[2014-07-07 18:26:32] ERROR - file: storage_sync.c, line: 241, sync data to storage server 111.111.163.162:23000 fail, errno: 32, error info: Broken pipe
[2014-07-07 18:26:33] INFO - file: storage_sync.c, line: 2698, successfully connect to storage server 111.111.163.162:23000
[2014-07-07 18:26:33] ERROR - file: storage_sync.c, line: 241, sync data to storage server 111.111.163.162:23000 fail, errno: 32, error info: Broken pipe
[2014-07-07 18:26:34] INFO - file: storage_sync.c, line: 2698, successfully connect to storage server 111.111.163.162:23000
[2014-07-07 18:26:34] ERROR - file: storage_sync.c, line: 241, sync data to storage server 111.111.163.162:23000 fail, errno: 32, error info: Broken pipe
[2014-07-07 18:26:34] ERROR - file: storage_dio.c, line: 462, write to file: /store_path2/data/.cp47.tmp fail, fd=20, write_bytes=262144, errno: 5, error info: Input/output error
[2014-07-07 18:26:34] ERROR - file: storage_service.c, line: 8151, client ip: 111.111.163.162, unkown cmd: -93
[2014-07-07 18:26:35] INFO - file: storage_sync.c, line: 2698, successfully connect to storage server 111.111.163.162:23000
[2014-07-07 18:26:35] ERROR - file: storage_sync.c, line: 241, sync data to storage server 111.111.163.162:23000 fail, errno: 32, error info: Broken pipe
[2014-07-07 18:26:36] INFO - file: storage_sync.c, line: 2698, successfully connect to storage server 111.111.163.162:23000
[2014-07-07 18:26:36] ERROR - file: storage_sync.c, line: 241, sync data to storage server 111.111.163.162:23000 fail, errno: 32, error info: Broken pipe
[2014-07-07 18:26:37] INFO - file: storage_sync.c, line: 2698, successfully connect to storage server 111.111.163.162:23000
[2014-07-07 18:26:37] ERROR - file: storage_sync.c, line: 241, sync data to storage server 111.111.163.162:23000 fail, errno: 32, error info: Broken pipe
[2014-07-07 18:26:38] ERROR - file: storage_dio.c, line: 462, write to file: /store_path2/data/.cp48.tmp fail, fd=20, write_bytes=262144, errno: 5, error info: Input/output error
[2014-07-07 18:26:38] ERROR - file: storage_service.c, line: 8151, client ip: 111.111.163.162, unkown cmd: -93
[2014-07-07 18:26:38] INFO - file: storage_sync.c, line: 2698, successfully connect to storage server 111.111.163.162:23000
[2014-07-07 18:26:39] ERROR - file: storage_sync.c, line: 241, sync data to storage server 111.111.163.162:23000 fail, errno: 32, error info: Broken pipe
[2014-07-07 18:26:40] INFO - file: storage_sync.c, line: 2698, successfully connect to storage server 111.111.163.162:23000
[2014-07-07 18:26:40] ERROR - file: storage_sync.c, line: 241, sync data to storage server 111.111.163.162:23000 fail, errno: 32, error info: Broken pipe
[2014-07-07 18:26:41] ERROR - file: storage_dio.c, line: 462, write to file: /store_path2/data/.cp49.tmp fail, fd=19, write_bytes=262144, errno: 5, error info: Input/output error
[2014-07-07 18:26:41] ERROR - file: storage_service.c, line: 8151, client ip: 111.111.163.162, unkown cmd: -93
[2014-07-07 18:26:41] INFO - file: storage_sync.c, line: 2698, successfully connect to storage server 111.111.163.162:23000
[2014-07-07 18:26:41] ERROR - file: storage_sync.c, line: 241, sync data to storage server 111.111.163.162:23000 fail, errno: 32, error info: Broken pipe
[2014-07-07 18:26:44] ERROR - file: storage_dio.c, line: 462, write to file: /store_path2/data/.cp50.tmp fail, fd=20, write_bytes=262144, errno: 5, error info: Input/output error




[2014-07-07 18:26:31] ERROR - file: storage_service.c, line: 8151, client ip: 111.111.150.32, unkown cmd: -84
[2014-07-07 18:26:32] ERROR - file: storage_sync.c, line: 241, sync data to storage server 111.111.150.32:23000 fail, errno: 32, error info: Broken pipe
[2014-07-07 18:26:32] ERROR - file: storage_dio.c, line: 462, write to file: /store_path1/data/.cp84.tmp fail, fd=21, write_bytes=262144, errno: 5, error info: Input/output error
[2014-07-07 18:26:32] ERROR - file: storage_service.c, line: 8151, client ip: 111.111.150.32, unkown cmd: -84
[2014-07-07 18:26:33] INFO - file: storage_sync.c, line: 2698, successfully connect to storage server 111.111.150.32:23000
[2014-07-07 18:26:33] ERROR - file: storage_dio.c, line: 462, write to file: /store_path1/data/.cp85.tmp fail, fd=25, write_bytes=262144, errno: 5, error info: Input/output error
[2014-07-07 18:26:33] ERROR - file: storage_service.c, line: 8151, client ip: 111.111.150.32, unkown cmd: -84
[2014-07-07 18:26:35] ERROR - file: storage_dio.c, line: 462, write to file: /store_path1/data/.cp86.tmp fail, fd=25, write_bytes=262144, errno: 5, error info: Input/output error
[2014-07-07 18:26:35] ERROR - file: storage_service.c, line: 8151, client ip: 111.111.150.32, unkown cmd: -84
[2014-07-07 18:26:35] ERROR - file: storage_sync.c, line: 241, sync data to storage server 111.111.150.32:23000 fail, errno: 32, error info: Broken pipe
[2014-07-07 18:26:36] INFO - file: storage_sync.c, line: 2698, successfully connect to storage server 111.111.150.32:23000
[2014-07-07 18:26:36] ERROR - file: storage_dio.c, line: 462, write to file: /store_path1/data/.cp87.tmp fail, fd=21, write_bytes=262144, errno: 5, error info: Input/output error
[2014-07-07 18:26:36] ERROR - file: storage_service.c, line: 8151, client ip: 111.111.150.32, unkown cmd: -84
[2014-07-07 18:26:37] ERROR - file: storage_dio.c, line: 462, write to file: /store_path1/data/.cp88.tmp fail, fd=25, write_bytes=262144, errno: 5, error info: Input/output error
[2014-07-07 18:26:37] ERROR - file: storage_service.c, line: 8151, client ip: 111.111.150.32, unkown cmd: -84
[2014-07-07 18:26:38] ERROR - file: storage_dio.c, line: 462, write to file: /store_path1/data/.cp89.tmp fail, fd=25, write_bytes=262144, errno: 5, error info: Input/output error
[2014-07-07 18:26:38] ERROR - file: storage_service.c, line: 8151, client ip: 111.111.150.32, unkown cmd: -84
[2014-07-07 18:26:38] ERROR - file: storage_sync.c, line: 241, sync data to storage server 111.111.150.32:23000 fail, errno: 32, error info: Broken pipe
[2014-07-07 18:26:39] INFO - file: storage_sync.c, line: 2698, successfully connect to storage server 111.111.150.32:23000
[2014-07-07 18:26:39] ERROR - file: storage_dio.c, line: 462, write to file: /store_path1/data/.cp90.tmp fail, fd=21, write_bytes=262144, errno: 5, error info: Input/output error
[2014-07-07 18:26:39] ERROR - file: storage_service.c, line: 8151, client ip: 111.111.150.32, unkown cmd: -84
[2014-07-07 18:26:40] ERROR - file: storage_dio.c, line: 462, write to file: /store_path1/data/.cp91.tmp fail, fd=25, write_bytes=262144, errno: 5, error info: Input/output error
[2014-07-07 18:26:40] ERROR - file: storage_service.c, line: 8151, client ip: 111.111.150.32, unkown cmd: -84
[2014-07-07 18:26:41] ERROR - file: storage_sync.c, line: 241, sync data to storage server 111.111.150.32:23000 fail, errno: 32, error info: Broken pipe
[2014-07-07 18:26:41] ERROR - file: storage_dio.c, line: 462, write to file: /store_path1/data/.cp92.tmp fail, fd=20, write_bytes=262144, errno: 5, error info: Input/output error
[2014-07-07 18:26:41] ERROR - file: storage_service.c, line: 8151, client ip: 111.111.150.32, unkown cmd: -84


服务器状态如下:
DEBUG - base_path=/home/fastdfs/client, connect_timeout=30, network_timeout=60, tracker_server_count=1, anti_steal_token=0, anti_steal_secret_key length=0, use_connection_pool=0, g_connection_pool_max_idle_time=3600s, use_storage_id=0, storage server id count: 0

server_count=1, server_index=0

tracker server is 111.111.150.32:22122

group count: 1

Group 1:
group name = group1
disk total space = 3071933 MB
disk free space = 1734070 MB
trunk free space = 0 MB
storage server count = 2
active server count = 2
storage server port = 23000
storage HTTP port = 80
store path count = 7
subdir count per path = 256
current write server index = 0
current trunk file id = 0

        Storage 1:
                id = 111.111.150.32
                ip_addr = 111.111.150.32 (cloud_server)  ACTIVE
                http domain =
                version = 5.01
                join time = 2013-07-09 16:22:13
                up time = 2014-07-07 16:36:21
                total storage = 3071933 MB
                free storage = 1734070 MB
                upload priority = 10
                store_path_count = 7
                subdir_count_per_path = 256
                storage_port = 23000
                storage_http_port = 80
                current_write_path = 0
                source storage id=
                if_trunk_server= 0
                total_upload_count = 181051
                success_upload_count = 181051
                total_append_count = 0
                success_append_count = 0
                total_modify_count = 0
                success_modify_count = 0
                total_truncate_count = 0
                success_truncate_count = 0
                total_set_meta_count = 6
                success_set_meta_count = 6
                total_delete_count = 26698
                success_delete_count = 26698
                total_download_count = 0
                success_download_count = 0
                total_get_meta_count = 0
                success_get_meta_count = 0
                total_create_link_count = 0
                success_create_link_count = 0
                total_delete_link_count = 0
                success_delete_link_count = 0
                total_upload_bytes = 1126948489191
                success_upload_bytes = 1126948489191
                total_append_bytes = 0
                success_append_bytes = 0
                total_modify_bytes = 0
                success_modify_bytes = 0
                stotal_download_bytes = 0
                success_download_bytes = 0
                total_sync_in_bytes = 222602688519
                success_sync_in_bytes = 202692327431
                total_sync_out_bytes = 2256754506200
                success_sync_out_bytes = 1543914106997
                total_file_open_count = 219657
                success_file_open_count = 219657
                total_file_read_count = 0
                success_file_read_count = 0
                total_file_write_count = 5249119
                success_file_write_count = 5230152
                last_heart_beat_time = 2014-07-07 18:45:52
                last_source_update = 2014-07-07 15:38:32
                last_sync_update = 2014-07-07 16:37:03
                last_synced_timestamp = 2014-04-05 18:22:52 (90 days 20h:54m:30s delay)
        Storage 2:
                id = 111.111.163.162
                ip_addr = 111.111.163.162  ACTIVE
                http domain =
                version = 5.01
                join time = 2014-01-13 01:46:00
                up time = 2014-07-07 18:45:55
                total storage = 3068664 MB
                free storage = 1745089 MB
                upload priority = 10
                store_path_count = 7
                subdir_count_per_path = 256
                storage_port = 23000
                storage_http_port = 80
                current_write_path = 0
                source storage id= 111.111.150.32
                if_trunk_server= 0
                total_upload_count = 22792
                success_upload_count = 22792
                total_append_count = 0
                success_append_count = 0
                total_modify_count = 0
                success_modify_count = 0
                total_truncate_count = 0
                success_truncate_count = 0
                total_set_meta_count = 0
                success_set_meta_count = 0
                total_delete_count = 2031
                success_delete_count = 2031
                total_download_count = 0
                success_download_count = 0
                total_get_meta_count = 0
                success_get_meta_count = 0
                total_create_link_count = 0
                success_create_link_count = 0
                total_delete_link_count = 0
                success_delete_link_count = 0
                total_upload_bytes = 219834631795
                success_upload_bytes = 219834631795
                total_append_bytes = 0
                success_append_bytes = 0
                total_modify_bytes = 0
                success_modify_bytes = 0
                stotal_download_bytes = 0
                success_download_bytes = 0
                total_sync_in_bytes = 1578356404163
                success_sync_in_bytes = 1040644009923
                total_sync_out_bytes = 265352968319
                success_sync_out_bytes = 230950949843
                total_file_open_count = 1201606
                success_file_open_count = 1201606
                total_file_read_count = 0
                success_file_read_count = 0
                total_file_write_count = 6951315
                success_file_write_count = 5931858
                last_heart_beat_time = 2014-07-07 18:45:55
                last_source_update = 2014-07-05 15:17:22
                last_sync_update = 2014-04-05 13:59:10
                last_synced_timestamp = 2014-04-04 04:39:07 (94 days 10h:59m:25s delay)


您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP