1. 程式人生 > >Fastdfs上傳失敗 tracker_query_storage fail

Fastdfs上傳失敗 tracker_query_storage fail

本地上傳失敗
[[email protected] ~]# fdfs_test /etc/fdfs/client.conf.sample upload /tmp/test.jpg
This is FastDFS client test program v5.09

Copyright © 2008, Happy Fish / YuQing

FastDFS may be copied only under the terms of the GNU General
Public License V3, which may be found in the FastDFS source kit.
Please visit the FastDFS Home Page

http://www.csource.org/
for more detail.

[2018-10-30 19:24:39] DEBUG - base_path=/data/fdfs, 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

[2018-10-30 19:24:39] ERROR - file: tracker_proto.c, line: 48, server: 172.17.7.205:22222, response status 28 != 0
[2018-10-30 19:24:39] ERROR - file: tracker_proto.c, line: 48, server: 172.17.7.205:22222, response status 28 != 0

*tracker_query_storage fail, error no: 28, error info: No space left on device *

報錯原因 tracker.conf 配置項 reserved_storage_space = 10%
本地磁碟 剩餘空間不足10%
在這裡插入圖片描述

本地上傳測試成功案例
[[email protected] ~]# fdfs_test /etc/fdfs/client.conf.sample upload /tmp/test.jpg
This is FastDFS client test program v5.09

Copyright © 2008, Happy Fish / YuQing

FastDFS may be copied only under the terms of the GNU General
Public License V3, which may be found in the FastDFS source kit.
Please visit the FastDFS Home Page http://www.csource.org/
for more detail.

[2018-10-30 19:22:58] DEBUG - base_path=/data/fdfs, 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

tracker_query_storage_store_list_without_group:
server 1. group_name=, ip_addr=172.17.7.205, port=23000

group_name=group1, ip_addr=172.17.7.205, port=23000
storage_upload_by_filename
group_name=group1, remote_filename=M00/00/01/rBEHzVvYPxKAbnD6AAAAAAAAAAA446.jpg
source ip address: 172.17.7.205
file timestamp=2018-10-30 19:22:58
file size=0
file crc32=0
example file url: http://172.17.7.205:22222/group1/M00/00/01/rBEHzVvYPxKAbnD6AAAAAAAAAAA446.jpg
storage_upload_slave_by_filename
group_name=group1, remote_filename=M00/00/01/rBEHzVvYPxKAbnD6AAAAAAAAAAA446_big.jpg
source ip address: 172.17.7.205
file timestamp=2018-10-30 19:22:58
file size=0
file crc32=0
example file url: http://172.17.7.205:22222/group1/M00/00/01/rBEHzVvYPxKAbnD6AAAAAAAAAAA446_big.jpg