From b9dd54e2386be5cf251d418bfc5e65fea86dc10c Mon Sep 17 00:00:00 2001 From: Jeremy Facchetti Date: Mon, 28 Sep 2020 19:46:10 +0200 Subject: [PATCH] doc: added precisions about snapshotting and cloning Signed-off-by: Jeremy Facchetti --- docs/cephfs-snap-clone.md | 2 ++ examples/README.md | 3 +++ 2 files changed, 5 insertions(+) diff --git a/docs/cephfs-snap-clone.md b/docs/cephfs-snap-clone.md index 18a4261cf..848b43da4 100644 --- a/docs/cephfs-snap-clone.md +++ b/docs/cephfs-snap-clone.md @@ -35,6 +35,8 @@ kubectl create -f ../examples/cephfs/snapshotclass.yaml The snapshot is created on/for an existing PVC. You should have a PVC in bound state before creating snapshot from it. +It is recommended to create a volume snapshot or a PVC clone +only when the PVC is not in use. Please refer pvc creation [doc](https://github.com/ceph/ceph-csi/blob/master/docs/deploy-cephfs.md) for more information on how to create a PVC. diff --git a/examples/README.md b/examples/README.md index 8137f3461..0970f6424 100644 --- a/examples/README.md +++ b/examples/README.md @@ -75,6 +75,9 @@ your Ceph cluster setup. If you followed the documentation to create the rbdplugin, you shouldn't have to edit any other file. +Note that it is recommended to create a volume snapshot or a PVC clone +only when the PVC is not in use. + After configuring everything you needed, deploy the snapshot class: ```bash