From e0fc650527f5294b92a57d9fa4b303fa1255ea0d Mon Sep 17 00:00:00 2001 From: Rishabh Dave Date: Mon, 7 Apr 2025 20:06:33 +0530 Subject: [PATCH] doc/cephfs: add doc for "snapshot getpath" cmd Signed-off-by: Rishabh Dave (cherry picked from commit 9e40a5c8d7a5cd6e4c1929559c4c7e3411653de5) --- doc/cephfs/fs-volumes.rst | 9 +++++++++ 1 file changed, 9 insertions(+) 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- 2.39.5