1. 程式人生 > >fastDFS配置reserved_storage_space

fastDFS配置reserved_storage_space

# 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 this group.

# bytes unit can be one of follows:

### G or g for gigabyte(GB)

### M or m for megabyte(MB)

### K or k for kilobyte(KB)

### no unit for byte(B)

### XX.XX% as ratio such as reserved_storage_space = 10%

reserved_storage_space = 10%

# storage server 上保留的空間,保證系統或其他應用需求空間。可以用絕對值或者百分比。只要同組內任一storage server剩餘空間小於這個值,就不允許再上傳檔案。

#(注意如果同組的伺服器的硬碟大小一樣,以最小的為準,也就是隻要同組中有一臺伺服器達到這個標準了,這個標準就生效,原因就是因為他們進行備份)

任何一個儲存節點的值達到標準臨界值,都會上傳不了

參考文章:https://www.linuxidc.com/Linux/2014-10/107577.htm