From 04b6b737153940c852c4b6771fb53a74a0c73bbe Mon Sep 17 00:00:00 2001 From: Jos Collin Date: Thu, 17 Oct 2019 19:55:47 +0530 Subject: [PATCH] doc: fs subvolume resize command Fixes: https://tracker.ceph.com/issues/41182 Signed-off-by: Jos Collin --- doc/cephfs/fs-volumes.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/cephfs/fs-volumes.rst b/doc/cephfs/fs-volumes.rst index 9284b0901dd..1673259fcfb 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:: -- 2.39.5