From b5769367d53d0d1580a9007af1c5b5198f0ecba8 Mon Sep 17 00:00:00 2001 From: Jos Collin Date: Mon, 7 Oct 2019 15:28:23 +0530 Subject: [PATCH] doc: list FS subvolumes, subvolume groups and their snapshots Fixes: https://tracker.ceph.com/issues/41842 Signed-off-by: Jos Collin --- doc/cephfs/fs-volumes.rst | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/cephfs/fs-volumes.rst b/doc/cephfs/fs-volumes.rst index af0f1154a8123..6e5594a193970 100644 --- a/doc/cephfs/fs-volumes.rst +++ b/doc/cephfs/fs-volumes.rst @@ -88,6 +88,10 @@ Fetch the absolute path of a subvolume group using:: $ ceph fs subvolumegroup getpath +List subvolume groups using:: + + $ ceph fs subvolumegroup ls + Create a snapshot (see :doc:`/cephfs/experimental-features`) of a subvolume group using:: @@ -102,6 +106,10 @@ Remove a snapshot of a subvolume group using:: Using the '--force' flag allows the command to succeed that would otherwise fail if the snapshot did not exist. +List snapshots of a subvolume group using:: + + $ ceph fs subvolumegroup snapshot ls + FS Subvolumes ------------- @@ -120,7 +128,7 @@ subvolume is created within the default subvolume group, and with an octal file mode '755', data pool layout of its parent directory and no size limit. -Remove a subvolume group using:: +Remove a subvolume using:: $ ceph fs subvolume rm [--group_name --force] @@ -138,6 +146,9 @@ Fetch the absolute path of a subvolume using:: $ ceph fs subvolume getpath [--group_name ] +List subvolumes using:: + + $ ceph fs subvolume ls [--group_name ] Create a snapshot of a subvolume using:: @@ -151,5 +162,9 @@ Remove a snapshot of a subvolume using:: Using the '--force' flag allows the command to succeed that would otherwise fail if the snapshot did not exist. +List snapshots of a subvolume using:: + + $ ceph fs subvolume snapshot ls [--group_name ] + .. _manila: https://github.com/openstack/manila .. _CSI: https://github.com/ceph/ceph-csi -- 2.39.5