-
Notifications
You must be signed in to change notification settings - Fork 72
change disk
ilixiaocui edited this page Jul 11, 2023
·
6 revisions
$ vim format.yaml
host:
- server-host4
- server-host5
- server-host6
disk:
- /dev/sda:/data/chunkserver0:90 # 替换上来的磁盘
- /dev/sdb:/data/chunkserver1:90 # 替换上来的磁盘
- /dev/sdc:/data/chunkserver2:90 # 替换上来的磁盘
⚠️ 警告:
format.yaml
文件中只需填写新增机器上的磁盘列表即可,切勿将已在集群中服务的磁盘列表填入其中,避免造成无法挽回的损失。
此步骤只针对扩容 CurveBS 集群,若扩容的是 CurveFS 集群,请直接跳过此步骤。
$ curveadm format -f format.yaml
$ curveadm start --id serviceId
© 2023 Curve Team. All Rights Reserved