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

Support CLONE_VOLUME #241

Open ElectroshockGuy opened 9 months ago

ElectroshockGuy commented 9 months ago

Why you need it?

failed to provision volume with StorageClass "open-local-lvm": CSI driver does not support clone operations: controller CLONE_VOLUME capability is not reported

How it could be?

open-local already implements CSI volume cloning, why not enable it? https://github.com/alibaba/open-local/blob/main/pkg/csi/type.go#L74

Other related information

Here are some links to official documenation on the topic: https://kubernetes-csi.github.io/docs/volume-cloning.html

peter-wangxu commented 9 months ago

what version of open-local?

ElectroshockGuy commented 9 months ago

version: open-local v0.7.0

Hi, apologies for the misunderstanding on my part. It appears that pv-clone.md is only a design document (https://github.com/alibaba/open-local/pull/100). May I ask if there are any plans to support clone volume in the near future?

peter-wangxu commented 9 months ago

currently no,the current way is to take snapshot and create pv from it.