mirror of
https://github.com/ceph/ceph
synced 2025-02-22 18:47:18 +00:00
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:
commit
38f051c22a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user