From c0c386b1977a2f8b8c838936ef037da6ec4c4fa2 Mon Sep 17 00:00:00 2001 From: Nikhilkumar Shelke Date: Thu, 21 Jul 2022 22:28:27 +0530 Subject: [PATCH] docs: minor doc fixes of showing in progress clones for a snapshot Signed-off-by: Nikhilkumar Shelke --- doc/cephfs/fs-volumes.rst | 6 +++--- qa/tasks/cephfs/test_volumes.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/cephfs/fs-volumes.rst b/doc/cephfs/fs-volumes.rst index 55bd7b40d9d..d721b229832 100644 --- a/doc/cephfs/fs-volumes.rst +++ b/doc/cephfs/fs-volumes.rst @@ -357,7 +357,7 @@ Fetch the information of a snapshot using:: $ ceph fs subvolume snapshot info [--group_name ] -The output format is json and contains fields as follows. +The output format is JSON and contains fields as follows. * created_at: time of creation of snapshot in the format "YYYY-MM-DD HH:MM:SS:ffffff" * data_pool: data pool the snapshot belongs to @@ -365,7 +365,7 @@ The output format is json and contains fields as follows. * pending_clones: list of in progress or pending clones and their target group if exist otherwise this field is not shown * orphan_clones_count: count of orphan clones if snapshot has orphan clones otherwise this field is not shown -Sample output if snapshot clones are in progress or pending state:: +Sample output when snapshot clones are in progress or pending state:: $ ceph fs subvolume snapshot info cephfs subvol snap { @@ -387,7 +387,7 @@ Sample output if snapshot clones are in progress or pending state:: ] } -Sample output if no snapshot clone is in progress or pending state:: +Sample output when no snapshot clone is in progress or pending state:: $ ceph fs subvolume snapshot info cephfs subvol snap { diff --git a/qa/tasks/cephfs/test_volumes.py b/qa/tasks/cephfs/test_volumes.py index b39f14f0c33..5fb2b0c0828 100644 --- a/qa/tasks/cephfs/test_volumes.py +++ b/qa/tasks/cephfs/test_volumes.py @@ -5408,7 +5408,7 @@ class TestSubvolumeSnapshotClones(TestVolumesHelper): def test_subvolume_snapshot_info_without_snapshot_clone(self): """ - Verify subvolume snapshot info output without clonnnig snapshot. + Verify subvolume snapshot info output without cloning snapshot. If no clone is performed then path /volumes/_index/clone/{track_id} will not exist. """ -- 2.39.5