From: Jos Collin Date: Thu, 17 Oct 2019 14:25:47 +0000 (+0530) Subject: doc: fs subvolume resize command X-Git-Tag: v14.2.8~20^2~57^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=41c52396de2dc8ef00bc7ef579af6666c192007a;p=ceph.git doc: fs subvolume resize command Fixes: https://tracker.ceph.com/issues/41182 Signed-off-by: Jos Collin (cherry picked from commit 04b6b737153940c852c4b6771fb53a74a0c73bbe) --- diff --git a/doc/cephfs/fs-volumes.rst b/doc/cephfs/fs-volumes.rst index af0f1154a81..66b9f64b298 100644 --- a/doc/cephfs/fs-volumes.rst +++ b/doc/cephfs/fs-volumes.rst @@ -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 [--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::