Creating a clone

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

  1. From the OpenShift Web Console go to Storage > Persistent Volume Claims.
  2. Create a clone in one of the following ways:
    • Beside the desired PVC, go to Action Menu > Clone PVC.
    • Click on the PVC for which you want to clone and click Actions > Clone PVC.
  3. Enter a Name for the clone.
  4. Select the access mode of your choice.
  5. Enter the required size of the clone.
  6. 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.
  7. Click Clone.
    You are redirected to the new PVC details page.
  8. 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.