From: Jos Collin Date: Thu, 17 Oct 2019 14:25:47 +0000 (+0530) Subject: doc: fs subvolume resize command X-Git-Tag: v15.1.0~1076^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=04b6b737153940c852c4b6771fb53a74a0c73bbe;p=ceph.git doc: fs subvolume resize command Fixes: https://tracker.ceph.com/issues/41182 Signed-off-by: Jos Collin --- diff --git a/doc/cephfs/fs-volumes.rst b/doc/cephfs/fs-volumes.rst index 9284b0901ddd..1673259fcfbf 100644 --- a/doc/cephfs/fs-volumes.rst +++ b/doc/cephfs/fs-volumes.rst @@ -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 [--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::