]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc/cephfs: add doc for "snapshot getpath" cmd
authorRishabh Dave <ridave@redhat.com>
Mon, 7 Apr 2025 14:36:33 +0000 (20:06 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 25 Sep 2025 07:14:48 +0000 (12:44 +0530)
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 9e40a5c8d7a5cd6e4c1929559c4c7e3411653de5)

doc/cephfs/fs-volumes.rst

index 2b7361cbc0499fab2f7e9511672dc7773fed0ebb..fa9ada3fc8e5b18c333cf9c92f4d92e6e2623b99 100644 (file)
@@ -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 <volname> <subvol_name> <snap_name> [<group_name>]
+
 Listing the Snapshots of a Subvolume
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~