Skip to content

Commit

Permalink
Merge PR ceph#19206 into master
Browse files Browse the repository at this point in the history
* refs/pull/19206/head:
	doc: add pre-requisite to enable CephFS snapshot

Reviewed-by: Patrick Donnelly <[email protected]>
Reviewed-by: Zheng Yan <[email protected]>
  • Loading branch information
batrick committed Nov 28, 2017
2 parents 6a9e622 + 93f9007 commit 38f051c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/dev/cephfs-snapshots.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38f051c

Please sign in to comment.