]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: add pre-requisite to enable CephFS snapshot 19206/head
authorrune <sujian@umcloud.com>
Tue, 28 Nov 2017 08:25:17 +0000 (16:25 +0800)
committerrune <sujian@umcloud.com>
Tue, 28 Nov 2017 08:25:17 +0000 (16:25 +0800)
Signed-off-by: Jian Su <sujian@umcloud.com>
doc/dev/cephfs-snapshots.rst

index 67e680dedbdaf2d425fc4ea01449d29ffb98d38b..6069ce57c309ca295b7283b8e34bf03ca11bb2c9 100644 (file)
@@ -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 <fs_name> 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