Project

General

Profile

Actions

Feature #45290

open

mgr/volumes: Add command to clone a volume from another volume

Added by Humble Chirammal about 4 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
ceph-mgr
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

To provide support for `clone` or `smart cloning` functionality in kubernetes/OCP, we need an interface or functionality which allows
to create a subvolume from an existing subvolume.

Afaict, its not possible to create a volume from an existing volume by a single command/interface, rather the available functionality is the creation of a volume from exising snapshot and not directly from the volume. The workaround/hack would be to achieve this functionality here is creating an intermedia snapshot and then create a volume from the intermediate snapshot , then, upon completion of the new volume creation, delete the intermediate snap. However the smart cloning functionality expects an operation that allows a new volume creation directly from an existing volume.

https://github.com/ceph/ceph-csi/issues/701

Above CSI issue talks about this requirement to support CLONING in ceph CSI project in proper manner.

Actions

Also available in: Atom PDF