]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: fs subvolume resize command
authorJos Collin <jcollin@redhat.com>
Thu, 17 Oct 2019 14:25:47 +0000 (19:55 +0530)
committerJos Collin <jcollin@redhat.com>
Wed, 8 Jan 2020 12:49:27 +0000 (18:19 +0530)
Fixes: https://tracker.ceph.com/issues/41182
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 04b6b737153940c852c4b6771fb53a74a0c73bbe)

doc/cephfs/fs-volumes.rst

index af0f1154a81230c17f98108dd3181352b25f9412..66b9f64b2980c647838dd8830402d3947bf6eb14 100644 (file)
@@ -133,6 +133,12 @@ The removal of a subvolume fails if it has snapshots, or is non-existent.
 Using the '--force' flag allows the command to succeed even if the subvolume is
 non-existent.
 
+Resize a subvolume using::
+
+    $ ceph fs subvolume resize <vol_name> <subvol_name> <new_size> [--group_name <subvol_group_name>] [--no_shrink]
+
+The command resizes the subvolume quota using the size specified by 'new_size'.
+'--no_shrink' flag prevents the subvolume to shrink below the current used size of the subvolume.
 
 Fetch the absolute path of a subvolume using::