Today, the development of feedback, found that there are two groups in the Fastdfs can not upload files, simply tested the following:
Fdfs_upload_file/etc/fdfs/storage.conf/root/1.jpg
will return to me n00~n02,n04,n06~n10 but lack of n03,n05
Through Fdfs_monitor and monitoring (23000 ports) are no problem, so specifically compared to the difference between N02 and n03,n05:
Disk found N02:
/DEV/SDC1 3.6T 884G 2.6T 26%/data/m00
/DEV/SDD1 3.6T 886G 2.6T 26%/data/m01
/dev/sde1 3.6T 884G 2.6T 26%/data/m02
/DEV/SDF1 3.6T 882G 2.6T 26%/data/m03
/DEV/SDG1 3.6T 883G 2.6T 26%/data/m04
/DEV/SDH1 3.6T 883G 2.6T 26%/data/m05
/dev/sdi1 3.6T 882G 2.6T 26%/data/m06
/dev/sdj1 3.6T 881G 2.6T 26%/data/m07
/dev/sdk1 3.6T 884G 2.6T 26%/data/m08
/DEV/SDL1 3.6T 882G 2.6T 26%/data/m09
/DEV/SDM1 3.6T 883G 2.6T 26%/data/m0a
/DEV/SDN1 3.6T 884G 2.6T 26%/data/m0b
N03 Disk:
/DEV/SDB1 903G 852G 4.0G 100%/data/m00
/DEV/SDC1 903G 852G 3.9G 100%/data/m01
/DEV/SDD1 903G 852G 3.9G 100%/data/m02
/dev/sde1 903G 852G 4.1G 100%/data/m03
/DEV/SDF1 903G 852G 4.0G 100%/data/m04
/DEV/SDG1 903G 852G 4.3G 100%/data/m05
/DEV/SDH1 903G 852G 4.2G 100%/data/m06
/dev/sdi1 903G 852G 4.2G 100%/data/m07
/dev/sdj1 903G 852G 4.6G 100%/data/m08
/dev/sdk1 903G 853G 3.7G 100%/data/m09
/DEV/SDL1 903G 851G 5.0G 100%/data/m0a
/DEV/SDM1 903G 851G 4.7G 100%/data/m0b
N05 Disk:
/DEV/SDB1 1.8T 1.7T 3.6G 100%/data/m00
/DEV/SDC1 1.8T 1.7T 3.6G 100%/data/m01
/DEV/SDD1 1.8T 1.7T 3.9G 100%/data/m02
/dev/sde1 1.8T 1.7T 3.9G 100%/data/m03
/DEV/SDF1 1.8T 1.7T 3.8G 100%/data/m04
/DEV/SDG1 1.8T 1.7T 3.8G 100%/data/m05
/DEV/SDH1 1.8T 1.7T 3.2G 100%/data/m06
/dev/sdi1 1.8T 1.7T 4.1G 100%/data/m07
/dev/sdj1 1.8T 1.7T 4.1G 100%/data/m08
/dev/sdk1 1.8T 1.7T 4.1G 100%/data/m09
/DEV/SDL1 1.8T 1.7T 4.1G 100%/data/m0a
/DEV/SDM1 1.8T 1.7T 8.2G 100%/data/m0b
Because at that time when learning Fastdfs, vaguely remember Fastdfs there is a default reserved space for a configuration option, locate this is found in the tracker configuration file Reserved_storage_space = 50G this option, It is important to note that this is the space reserved by total, not the space reserved by the individual path.
You can also see the description of this option in the configuration file:
# Reserved storage space for system or other applications.
# If the free (available) space of any stoarge server in
# A group <= reserved_storage_space,
# no file can be uploaded to the this group.
Solution:
1. Modify the tracker configuration file to reduce the parameters: Reserved_storage_space = 20G (can only be resolved temporarily, not a permanent solution)
2. Expansion, new storage server group, space expansion
This article is from the "It Life" blog, so be sure to keep this source http://caibird.blog.51cto.com/1403570/1859496
Fastdfs Unable to upload file problem description and Solutions