本地上传失败
[root@1 ~]# 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.conf 配置项 reserved_storage_space = 10%
本地磁盘 剩余空间不足10%
本地上传测试成功案例
[root@172-17-7-205 ~]# 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