alibaba / open-local

cloud-native local storage management system for stateful workload, low-latency with simplicity
Apache License 2.0
460 stars 81 forks source link

是否支持动态扩容磁盘 #224

Closed dxygit1 closed 1 year ago

dxygit1 commented 1 year ago

Question

我第一次添加了一块vdc的盘到vg1中 image

我第二次想把vdd这块盘添加到这个vg中,这个要怎么加一下呀。我尝试添加在NodeLocalStorageInitConfig中并没有创建对应的pv

peter-wangxu commented 1 year ago

可以尝试下把对应节点的nodelocalstorage删除,看看会不会扩容,具体代码逻辑晚点看下

dxygit1 commented 1 year ago

我尝试过卸载open-local 删除nodelocalstorage 在重新install一样也是不可以的。 我在测试的时候发现了另外一个问题: 我这个用的是阿里云ack测试的,185这台机器是没有lvm vg这些的,但是调度还是会调度到这台

adababys commented 1 year ago

Question

我第一次添加了一块vdc的盘到vg1中 image

我第二次想把vdd这块盘添加到这个vg中,这个要怎么加一下呀。我尝试添加在NodeLocalStorageInitConfig中并没有创建对应的pv

在每个节点上执行 vgextend open-local-0 /dev/vdd ,集群会自动更新并认识扩容的 vg容量

dxygit1 commented 1 year ago

好的 明白 这个要手动添加到vg是吧。谢谢您。我手动添加是可以的,我以为在yaml中加进去 磁盘会自己加进去