From 7ae62167e3d9fb655ca22876a6df29565e524eb2 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 15 Dec 2021 10:09:37 -0500 Subject: [PATCH] doc/rados/operations: document pg_num_max Signed-off-by: Sage Weil --- doc/rados/operations/placement-groups.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/rados/operations/placement-groups.rst b/doc/rados/operations/placement-groups.rst index caaeb7af7aacd..e4b0e5228bd21 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: -- 2.39.5