From: rune Date: Tue, 28 Nov 2017 08:25:17 +0000 (+0800) Subject: doc: add pre-requisite to enable CephFS snapshot X-Git-Tag: v13.0.1~80^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F19206%2Fhead;p=ceph.git doc: add pre-requisite to enable CephFS snapshot Signed-off-by: Jian Su --- diff --git a/doc/dev/cephfs-snapshots.rst b/doc/dev/cephfs-snapshots.rst index 67e680dedbd..6069ce57c30 100644 --- a/doc/dev/cephfs-snapshots.rst +++ b/doc/dev/cephfs-snapshots.rst @@ -33,6 +33,14 @@ Important Data Structures Creating a snapshot ------------------- +Because CephFS snapshot currently is an experimental feature, we are supposed +to enable it explicitly by the command below before testing. + +.. code:: + + $ ceph fs set allow_new_snaps true --yes-i-really-mean-it + + To make a snapshot on directory "/1/2/3/foo", the client invokes "mkdir" on "/1/2/3/foo/.snap" directory. This is transmitted to the MDS Server as a CEPH_MDS_OP_MKSNAP-tagged `MClientRequest`, and initially handled in