From: Sage Weil Date: Wed, 15 Dec 2021 15:09:37 +0000 (-0500) Subject: doc/rados/operations: document pg_num_max X-Git-Tag: v17.1.0~123^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7ae62167e3d9fb655ca22876a6df29565e524eb2;p=ceph.git doc/rados/operations: document pg_num_max Signed-off-by: Sage Weil --- diff --git a/doc/rados/operations/placement-groups.rst b/doc/rados/operations/placement-groups.rst index caaeb7af7aac..e4b0e5228bd2 100644 --- a/doc/rados/operations/placement-groups.rst +++ b/doc/rados/operations/placement-groups.rst @@ -204,13 +204,14 @@ parallelism client will see when doing IO, even when a pool is mostly empty. Setting the lower bound prevents Ceph from reducing (or recommending you reduce) the PG number below the configured number. -You can set the minimum number of PGs for a pool with:: +You can set the minimum or maximum number of PGs for a pool with:: ceph osd pool set pg_num_min + ceph osd pool set pg_num_max -You can also specify the minimum PG count at pool creation time with -the optional ``--pg-num-min `` argument to the ``ceph osd pool -create`` command. +You can also specify the minimum or maximum PG count at pool creation +time with the optional ``--pg-num-min `` or ``--pg-num-max +`` arguments to the ``ceph osd pool create`` command. .. _preselection: