Merge PR #19206 into master

* refs/pull/19206/head:
	doc: add pre-requisite to enable CephFS snapshot

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
This commit is contained in:
Patrick Donnelly 2017-11-28 12:02:52 -08:00
commit 38f051c22a
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB

View 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