happyfish100 / FastCFS

A high performance distributed file system which can be used as the back-end storage of databases, K8s and VM etc.
GNU Affero General Public License v3.0
549 stars 85 forks source link

启动fstore的时候报错了,第一台机器没有问题,第二台有问题了,我想问问,集群中两台fstore是可以启动的吧?副本是1 #44

Open eguotangseng opened 4 hours ago

eguotangseng commented 4 hours ago

Can't open PID file /opt/fastcfs/fstore/serverd.pid (yet?) after start-post: No such file or directory 第二台启动的时候报这个错

eguotangseng commented 4 hours ago

从日志看 WARNING - file: ../common/fs_cluster_cfg.c, line: 306, config file: /etc/fastcfs/fstore/cluster.conf, 1 server ids: 2 NOT used (NOT contain any data group)!

eguotangseng commented 3 hours ago

已经好了,修改了server_ids = [1,2] 两台机器必须是两个副本吗?如果加机器只能是两台,两台的加了?

eguotangseng commented 3 hours ago

只添加fstore服务器就可以把?