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

Does open-local support using vg on block devices without partitions? #260

Open Fan123-ui opened 2 months ago

Fan123-ui commented 2 months ago

Question

I have created vg1 on my block device/dev/sdb. There is 10T of space on vg1 occupied by other LVs. After adding vg1 to the whitelist, but the created pvc is always pending, prompting “failed to provision volume with StorageClass "open-local-lvm": rpc error: code = Internal desc = CreateVolume: fail to get lv local-b3c76e87-6cff-4b96-a9df-013302b073bd from node node-01: rpc error: code = Internal desc = failed to list LVs: Failed to run cmd: nsenter --mount=/proc/1/ns/mnt --ipc=/proc/1/ns/ipc --net=/proc/1/ns/net --uts=/proc/1/ns/uts lvs --units=b --separator="<:SEP:>" --nosuffix --noheadings -o lv_name,lv_size,lv_uuid,lv_attr,copy_percent,lv_kernel_major,lv_kernel_minor,lv_tags --nameprefixes -a open-local-pool-0/local-b3c76e87-6cff-4b96-a9df-013302b073bd, with out: Volume group "open-local-pool-0" not found.”

peter-wangxu commented 2 months ago

is the vg open-local-pool-0 still there?

which version did you use?