From: Rishabh Dave Date: Mon, 7 Apr 2025 14:36:33 +0000 (+0530) Subject: doc/cephfs: add doc for "snapshot getpath" cmd X-Git-Tag: testing/wip-jcollin-testing-20251007.040314-squid^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e0fc650527f5294b92a57d9fa4b303fa1255ea0d;p=ceph-ci.git doc/cephfs: add doc for "snapshot getpath" cmd Signed-off-by: Rishabh Dave (cherry picked from commit 9e40a5c8d7a5cd6e4c1929559c4c7e3411653de5) --- diff --git a/doc/cephfs/fs-volumes.rst b/doc/cephfs/fs-volumes.rst index 2b7361cbc04..fa9ada3fc8e 100644 --- a/doc/cephfs/fs-volumes.rst +++ b/doc/cephfs/fs-volumes.rst @@ -605,6 +605,15 @@ otherwise fail (if the snapshot did not exist). .. note:: if the last snapshot within a snapshot retained subvolume is removed, the subvolume is also removed +Fetching Path of a Snapshot of a Subvolume +------------------------------------------ +Use a command of the following form to fetch the absolute path of a snapshot of +a subvolume: + +.. prompt:: base # + + ceph fs subvolume snapshot getpath [] + Listing the Snapshots of a Subvolume ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~