在 FastDFS 中配置多个存储组时,需要在每个存储组中配置相应的存储路径。以下是配置 FastDFS Storage 的步骤:storage 配置修改
打开 storage.conf 配置文件,通常位于 /etc/fdfs 目录下;
给每个group创建不同的storage_*.conf文件;
cd /etc/fdfs
cp storage.conf.sample storage_*.conf
vim storage_*.conf
为每个存储组配置其他参数;
设置不同的groupName,port
# and storage_ids.conf must be configured correctly.
group_name = CheckPoint
# the storage server port
port = 23000
# the base path to store data and log files
base_path=/data/fastdfs/check_point
# store_path#, based 0, if store_path0 not exists, it's value is