From: Sage Weil Date: Wed, 15 Dec 2021 15:09:37 +0000 (-0500) Subject: doc/rados/operations: document pg_num_max X-Git-Tag: v16.2.8~44^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3019c540c2a6eacf9e70354c893de4024b1836e6;p=ceph.git doc/rados/operations: document pg_num_max Signed-off-by: Sage Weil (cherry picked from commit 7ae62167e3d9fb655ca22876a6df29565e524eb2) --- diff --git a/doc/rados/operations/placement-groups.rst b/doc/rados/operations/placement-groups.rst index c4e89d7233a0..1577d41a32ad 100644 --- a/doc/rados/operations/placement-groups.rst +++ b/doc/rados/operations/placement-groups.rst @@ -213,13 +213,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: