diff options
author | John Wilkins <john.wilkins@inktank.com> | 2013-04-18 14:08:43 -0700 |
---|---|---|
committer | John Wilkins <john.wilkins@inktank.com> | 2013-04-18 14:08:43 -0700 |
commit | 44aa696b44dbef1fff5805cc239a76ea6f26cdba (patch) | |
tree | 9c2d23feaf32dc309e2914129aa7282fdb8e8d80 | |
parent | 2e3579edd44d5c35123bc408e77d11dfc47bf634 (diff) | |
download | ceph-44aa696b44dbef1fff5805cc239a76ea6f26cdba.tar.gz |
doc: Added new PG troubleshooting use case.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
-rw-r--r-- | doc/rados/troubleshooting/troubleshooting-pg.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/rados/troubleshooting/troubleshooting-pg.rst b/doc/rados/troubleshooting/troubleshooting-pg.rst index b2afabfdd03..7ea7a5ac02c 100644 --- a/doc/rados/troubleshooting/troubleshooting-pg.rst +++ b/doc/rados/troubleshooting/troubleshooting-pg.rst @@ -259,3 +259,19 @@ If we want to get placement group 2.5 back online, for example, this tells us th it was last managed by ``osd.0`` and ``osd.2``. Restarting those ``ceph-osd`` daemons will allow the cluster to recover that placement group (and, presumably, many others). + + +Only a Few OSDs Receive Data +============================ + +If you have many nodes in your cluster and only a few of them receive data, +`check`_ the number of placement groups in your pool. Since placement groups get +mapped to OSDs, a small number of placement groups will not distribute across +your cluster. Try creating a pool with a placement group count that is a +multiple of the number of OSDs. See `Placement Groups`_ for details. The default +placement group count for pools isn't useful, but you can change it `here`_. + + +.. _check: ../../operations/placement-groups#get-the-number-of-placement-groups +.. _here: ../../configuration/pool-pg-config-ref +.. _Placement Groups: ../../operations/placement-groups |