Static provisioning of an existing snapshot

Last published : Jun 12, 2026
To perform static Provisioning of an existing snapshot:
  1. You must be ready with the VxVM volume name to define the Persistent Volume object.
Run
oc exec -ti -n <namespace> <InfoScale SDS> -- <cmd>
to list Volumes from the InfoScale SDS pod. You have to specify a Volume for snapshotHandle in csi-static-snapshot-content.yaml.
An example of this command is
oc exec -ti -n infoscale-vtas infoscale-sds-rhel9-bwvwb -- vxprint -g vrts_kube_dg -vuh | grep -w fsgen
  1. Define the volume snapshot content object using the yaml file and specify the snapshotHandle.
    csi-static-snapshot-content.yaml
    ---
    apiVersion: snapshot.storage.k8s.io/v1beta1
    kind: VolumeSnapshotContent
    metadata:
    name: csi-static-snapshot-content
    spec:
    deletionPolicy: Retain
    driver: org.veritas.infoscale
    source:
    \# Provide pre-provisioned Infoscale snapshot volume name
    snapshotHandle: clus_<clusterid>/<dgname>/<volname>
    volumeSnapshotRef:
    name: csi-static-snapshot
    namespace: default
    1. Define the volume snapshot object using the yaml and specify the volumeSnapshotContentName.
    csi-static-snapshot.yaml
    ---
    apiVersion: snapshot.storage.k8s.io/v1beta1
    kind: VolumeSnapshot
    metadata:
    name: csi-static-snapshot
    spec:
    volumeSnapshotClassName: csi-infoscale-snapclass
    source:
    volumeSnapshotContentName: csi-static-snapshot-content
  2. Create Volume Snapshot
oc create -f csi-static-snapshot.yaml
On successful creation of VolumeSnapshot object, the corresponding volume snapshot content is bound to the volume Snapshot object.