diff --git a/Documentation/Storage-Configuration/Ceph-CSI/ceph-csi-snapshot.md b/Documentation/Storage-Configuration/Ceph-CSI/ceph-csi-snapshot.md index f214eaaec87b..1a8d888d14ce 100644 --- a/Documentation/Storage-Configuration/Ceph-CSI/ceph-csi-snapshot.md +++ b/Documentation/Storage-Configuration/Ceph-CSI/ceph-csi-snapshot.md @@ -66,7 +66,16 @@ The snapshot will be ready to restore to a new PVC when the `READYTOUSE` field o In [pvc-restore](https://github.com/rook/rook/tree/master/deploy/examples/csi/rbd/pvc-restore.yaml), `dataSource` should be the name of the `VolumeSnapshot` previously -created. The `dataSource` kind should be the `VolumeSnapshot`. +created. The `dataSource` kind should be the `VolumeSnapshot`. The `storageClassName` +can be any RBD storageclass. + +Please Note: + * `provisioner` must be the same for both the Parent PVC and the restored PVC. + * The non-encrypted PVC cannot be restored to an encrypted one and vice-versa. + * encrypted -> encrypted (possible) + * non-encrypted -> non-encrypted (possible) + * encrypted -> non-encrypted (not possible) + * non-encrypted -> encrypted (not possible) Create a new PVC from the snapshot diff --git a/Documentation/Storage-Configuration/Ceph-CSI/ceph-csi-volume-clone.md b/Documentation/Storage-Configuration/Ceph-CSI/ceph-csi-volume-clone.md index 4434f2315827..3abe0aa7c4a8 100644 --- a/Documentation/Storage-Configuration/Ceph-CSI/ceph-csi-volume-clone.md +++ b/Documentation/Storage-Configuration/Ceph-CSI/ceph-csi-volume-clone.md @@ -17,8 +17,16 @@ for more info. In [pvc-clone](https://github.com/rook/rook/tree/master/deploy/examples/csi/rbd/pvc-clone.yaml), `dataSource` should be the name of the `PVC` which is already created by RBD -CSI driver. The `dataSource` kind should be the `PersistentVolumeClaim` and also storageclass -should be same as the source `PVC`. +CSI driver. The `dataSource` kind should be the `PersistentVolumeClaim`. +The `storageClassName` can be any RBD storageclass (not necessarily same as Parent PVC) + +Please note: + * `provisioner` must be the same for both the Parent PVC and the Clone PVC. + * The non-encrypted PVC cannot be cloned to an encrypted one and vice-versa. + * encrypted -> encrypted (possible) + * non-encrypted -> non-encrypted (possible) + * encrypted -> non-encrypted (not possible) + * non-encrypted -> encrypted (not possible) Create a new PVC Clone from the PVC