Creating volume snapshots

You can create a volume snapshot either from the Persistent Volume Claim (PVC) page or the Volume Snapshots page.

For a consistent snapshot, the PVC should be in Bound state and not be in use. Ensure to stop all I/O before taking the snapshot.
Note: Fusion Data Foundation only provides crash consistency for a volume snapshot of a PVC if a pod is using it. For application consistency, be sure to first tear down a running pod to ensure consistent snapshots or use any quiesce mechanism provided by the application to ensure it.

Creating volume snapshots from the Persistent Volume Claims page

  1. From the OpenShift Web Console go to Storage > Persistent Volume Claims.
  2. Create a volume snapshot in one of the following ways:
    • Beside the desired PVC, go to Action Menu > Create Snapshot.
    • Click on the PVC for which you want to create the snapshot and click Actions > Create Snapshot.
  3. Enter a Name for the volume snapshot.
  4. Choose the Snapshot Class from the drop-down list.
  5. Click Create.

    You will be redirected to the Details page of the volume snapshot that is created.

Creating volume snapshots from the Volume Snapshots page

  1. From the OpenShift Web Console go to Storage > Volume Snapshots.
  2. In the Volume Snapshots page, click Create Volume Snapshot.
  3. Choose the required Project from the drop-down list.
  4. Choose the Persistent Volume Claim from the drop-down list.
  5. Enter a Name for the snapshot.
  6. Choose the Snapshot Class from the drop-down list.
  7. Click Create.

    You will be redirected to the Details page of the volume snapshot that is created.

Verifying volume snapshot creation

  • Go to the Details page of the PVC and click the Volume Snapshots tab to see the list of volume snapshots. Verify that the new volume snapshot is listed.
  • From the OpenShift Web Console go to Storage > Volume Snapshots. Verify that the new volume snapshot is listed.
  • Wait for the volume snapshot to be in a Ready state.