]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: fs subvolume resize command 30054/head
authorJos Collin <jcollin@redhat.com>
Thu, 17 Oct 2019 14:25:47 +0000 (19:55 +0530)
committerJos Collin <jcollin@redhat.com>
Thu, 24 Oct 2019 10:37:18 +0000 (16:07 +0530)
Fixes: https://tracker.ceph.com/issues/41182
Signed-off-by: Jos Collin <jcollin@redhat.com>
doc/cephfs/fs-volumes.rst

index 9284b0901ddd5ad65fd4590541b5122eef7011fa..1673259fcfbff39d0b435d62b2930cde4cdfd59d 100644 (file)
@@ -141,6 +141,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::