Create a clone.
Before you begin
Source PVC must be in Bound state and must not be in use.Note: Do not
create a clone of a PVC if a Pod is using it. Doing so might cause data corruption because the PVC
is not quiesced (paused).
Procedure
- From the OpenShift Web Console go to
.
- Create a clone in one of the following ways:
- Beside the desired PVC, go to .
- Click on the PVC for which you want to clone and click
.
- Enter a Name for the clone.
- Select the access mode of your choice.
- Enter the required size of the clone.
- Select the storage class in which you want to create the clone.
The storage
class can be any RBD storage class and it need not necessarily be the same as the parent
PVC.
- Click Clone.
You are redirected to the new PVC details
page.
- Wait for the cloned PVC status to become Bound.
The cloned
PVC is now available to be consumed by the pods. This cloned PVC is independent of its dataSource
PVC.