fastdfs icon indicating copy to clipboard operation
fastdfs copied to clipboard

fastdfs新增挂载点扩容,新增store_path1和 base_bath不一致时,base_path该怎么修改的问题。

Open wanggd2019 opened this issue 3 years ago • 1 comments

fastdfs6.06增加挂载点扩容, 在storage服务器上挂在了一块新磁盘,假设新磁盘为/data/
1. 修改storage.conf, 当前base_path为 base_path = /eshop/fastdfs/storage 当前store_path为 store_path0 = /eshop/fastdfs/storage/files 新增store_path (和base_path不一致) store_path1 = /eshop/fastdfs/storage2/files

问题是新增store_path1和 base_bath不一致,base_path这个参数就尴尬了,该怎么修改呢? 目前测试着base_path不用改,效果上达到了期望,不知这样有什么隐患。 请各位大神指教,谢谢。

wanggd2019 avatar Mar 01 '21 03:03 wanggd2019

刚看了一下参数的配置说明,这个base_path主要用了存储日志,如果没有配置store_path才会使用base_path存储文件,实际上的效果也是这样的,base_path中存储这storage.log和pid等文件,哈哈

wanggd2019 avatar Mar 01 '21 03:03 wanggd2019