Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support volume cloning #1718

Open
michaelbeaumont opened this issue Aug 9, 2024 · 0 comments
Open

Support volume cloning #1718

michaelbeaumont opened this issue Aug 9, 2024 · 0 comments
Labels
Enhancement New feature or request

Comments

@michaelbeaumont
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The CSI driver doesn't support volume cloning
so it's not possible to create a PVC from another PVC:

kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: storage-clone
spec:
  storageClassName: openebs-single-thin-replica
  dataSource:
    name: storage
    kind: PersistentVolumeClaim

throws warnings like:

failed to provision [...]: CSI driver does not support clone operations: controller CLONE_VOLUME capability is not reported

Cloning can be used, for example, with volsync to backup with clones

Describe the solution you'd like
Volume cloning supported by the replicated storage CSI driver.

Describe alternatives you've considered
Snapshots can be used instead as sources but cloning makes it a little easier to duplicate a volume and doesn't require creating a snapshot just to duplicate a volume.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants