]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Fri, 11 Apr 2025 08:58:25 +0000 (14:28 +0530)
Signed-off-by: Rishabh Dave <ridave@redhat.com>
doc/cephfs/fs-volumes.rst

index d5ddccaae2f97a05570fd54bcc02ed73dbe94d74..67ab2d89d639fcea7b8e5baa54749c10f9af5c9a 100644 (file)
@@ -612,6 +612,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
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~