]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: list FS subvolumes, subvolume groups and their snapshots 30476/head
authorJos Collin <jcollin@redhat.com>
Mon, 7 Oct 2019 09:58:23 +0000 (15:28 +0530)
committerJos Collin <jcollin@redhat.com>
Tue, 8 Oct 2019 06:24:00 +0000 (11:54 +0530)
Fixes: https://tracker.ceph.com/issues/41842
Signed-off-by: Jos Collin <jcollin@redhat.com>
doc/cephfs/fs-volumes.rst

index af0f1154a81230c17f98108dd3181352b25f9412..6e5594a19397093ac84cdf6ab3f48745bd0c56e0 100644 (file)
@@ -88,6 +88,10 @@ Fetch the absolute path of a subvolume group using::
 
     $ ceph fs subvolumegroup getpath <vol_name> <group_name>
 
+List subvolume groups using::
+
+    $ ceph fs subvolumegroup ls <vol_name>
+
 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 <vol_name> <group_name>
+
 
 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 <vol_name> <subvol_name> [--group_name <subvol_group_name> --force]
 
@@ -138,6 +146,9 @@ Fetch the absolute path of a subvolume using::
 
     $ ceph fs subvolume getpath <vol_name> <subvol_name> [--group_name <subvol_group_name>]
 
+List subvolumes using::
+
+    $ ceph fs subvolume ls <vol_name> [--group_name <subvol_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 <vol_name> <subvol_name> [--group_name <subvol_group_name>]
+
 .. _manila: https://github.com/openstack/manila
 .. _CSI: https://github.com/ceph/ceph-csi