Clone Persistent Volumes

This section explains how to clone a Persistent Volume.

After creating a Persistent Volume Claim and Persistent Volume, you can create identical copies by cloning them.

Prerequisites

  • You should join a project and have the Persistent Volume Claim Management permission within the project. For more information, refer to “Project Members” and “Project Roles”.

  • Ensure that the system has created a Persistent Volume for the Persistent Volume Claim.

  • Ensure that the backend storage system supports volume cloning, and the storage class corresponding to the Persistent Volume Claim has enabled volume cloning.

Steps

  1. Log in to the KubeSphere web console with a user who has the Persistent Volume Claim Management permission, and access your project.

  2. Click Storage > Persistent Volume Claims in the left navigation pane.

  3. Click the name of a Persistent Volume Claim in the list to open its details page.

  4. In the top-left corner of the details page, select More > Clone.

  5. In the Clone Volume dialog, set the name for the new Persistent Volume Claim, and then click OK.

    The system will create identical copies for the Persistent Volume Claim and the corresponding Persistent Volume.