From: Jordan Rodgers Date: Fri, 3 Nov 2017 17:08:53 +0000 (-0400) Subject: doc: Fixes the name of the CephFS snapshot directory. X-Git-Tag: v13.0.1~142^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e2ae48dcde044fb7c8102da894763050bed93b11;p=ceph.git doc: Fixes the name of the CephFS snapshot directory. Signed-off-by: Jordan Rodgers --- diff --git a/doc/dev/cephfs-snapshots.rst b/doc/dev/cephfs-snapshots.rst index 7954f6625c5f..67e680dedbda 100644 --- a/doc/dev/cephfs-snapshots.rst +++ b/doc/dev/cephfs-snapshots.rst @@ -34,7 +34,7 @@ Important Data Structures Creating a snapshot ------------------- To make a snapshot on directory "/1/2/3/foo", the client invokes "mkdir" on -"/1/2/3/foo/.snaps" directory. This is transmitted to the MDS Server as a +"/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 Server::handle_client_mksnap(). It allocates a `snapid` from the `SnapServer`, projects a new inode with the new SnapRealm, and commits it to the MDLog as @@ -89,7 +89,7 @@ pinned and in the journal. Deleting snapshots ------------------ -Snapshots are deleted by invoking "rmdir" on the ".snaps" directory they are +Snapshots are deleted by invoking "rmdir" on the ".snap" directory they are rooted in. (Attempts to delete a directory which roots snapshots *will fail*; you must delete the snapshots first.) Once deleted, they are entered into the `OSDMap` list of deleted snapshots and the file data is removed by the OSDs.