Commit Graph

422 Commits

Author SHA1 Message Date
John Spray
45f842db41 doc: remind user to calculate the correct max port
This was kind of easy to miss, and if users
just paste in the command as given then their
first few OSDs will work, and from their
4th OSD onwards things will get weird.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-02-08 15:50:38 +01:00
John Spray
fe47e23aed doc: correct default of ms_bind_port_max
It's 7300 in the code, whereas these docs
had it as 7100.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-02-08 15:50:38 +01:00
John Wilkins
0548beadf2 doc: Removed references to Inktank suppport.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2015-02-03 14:50:25 -08:00
John Wilkins
babac0c4cc doc: Removed Inktank reference.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2015-02-03 14:14:22 -08:00
Samuel Just
aac4c255e2 osd/: add state PG_STATE_PEERED
We need a state to represent the pg state where we are below
min_size, but trying to recover.

Signed-off-by: Samuel Just <sam.just@inktank.com>
2015-01-30 11:45:37 -08:00
Samuel Just
abd115484a doc: add documentation for undersized
Signed-off-by: Samuel Just <sam.just@inktank.com>
2015-01-30 11:45:34 -08:00
Samuel Just
bed22b49b7 doc: improve incomplete state documentation
Signed-off-by: Samuel Just <sam.just@inktank.com>
2015-01-29 13:17:07 -08:00
RobertJansen1
0a998f51f2 edited failure conclusion
Signed-off-by: Robert Jansen <r.jansen@fairbanks.nl>
2015-01-29 11:07:50 +01:00
RobertJansen1
4527e8f8eb corrected some confusing numbers
Signed-off-by: Robert Jansen <r.jansen@fairbanks.nl>
2015-01-29 11:03:14 +01:00
Sage Weil
6633f8a3ed Merge pull request #3409 from trociny/wip-osd_pool_flags
osd: new pool safeguard flags: nodelete, nopgchange, nosizechange

Reviewed-by: Sage Weil <sage@redhat.com>
2015-01-21 13:52:29 -08:00
Loic Dachary
2b86479b4c Merge pull request #3419 from Nairolf21/wip-documentation
doc: Introduce the term MON at http://ceph.com/docs/master/rados/

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-01-20 14:22:53 +01:00
nairolf21
88b1032194 Introduce the term MON at http://ceph.com/docs/master/rados/
http://tracker.ceph.com/issues/10203 Fixes:#10203

Signed-off-by: Florian Coste <fcoste21@gmail.com>
2015-01-20 14:19:26 +01:00
Hazem
08faee0752 doc: mon should be listed before osd
When deploying a Ceph cluster, the mon must be run first.
In the list shown at http://ceph.com/docs/master/rados/configuration/
it would therefore be better to have mon listed before osd.

http://tracker.ceph.com/issues/10204 Fixes: #10204

Signed-off-by: Hazem <hazem.amara@telecom-bretagne.eu>
2015-01-20 14:10:45 +01:00
Loic Dachary
852ea87447 Merge pull request #3420 from Anols/wip-documentation
doc: missing the reference to "ceph-deploy-new"

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-01-20 13:36:09 +01:00
Anols
6b1c92c287 Doc : Documentation#10205
Missing the reference of "ceph-deploy-new".

https://tracker.ceph.com/issues/10205

Signed-off-by: AYARI <ayari_anis@live.fr>
2015-01-20 12:06:07 +01:00
ThomasCantin
b8dd228cad doc bug 10206 2015-01-20 11:32:24 +01:00
Sage Weil
8318a2e5e2 Merge pull request #3382 from xinxinsh/wip-fix
fix command 'ceph pg dump_stuck degraded'

Reviewed-by: Sage Weil <sage@redhat.com>
2015-01-19 12:35:58 -08:00
Mykola Golub
8ab3c41db7 osd: new pool safeguard flags: nodelete, nopgchange, nosizechange
* nodelete - pool can't be deleted
* nopgchange - pool's pg and pgp num can't be changed
* nosizechange - pool's size and min size can't be changed

This is intended to help some poor admin to avoid a very bad day.

Fixes: #9792 (but in a different way than it was proposed there)
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-01-19 21:50:28 +02:00
Loic Dachary
02cab93fec documentation: add troubleshooting erasure coded PGs section
Add a new section to the PG troubleshooting section that covers the most
common problems reported when an erasure coded pool fails to properly
map PGs to enough OSDs.

http://tracker.ceph.com/issues/10350 Fixes: #10350

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-01-15 21:26:53 +01:00
xinxin shu
9db596974c fix command 'ceph pg dump_stuck degraded'
undersized not valid:  undersized not in inactive|unclean|stale
undersized not valid:  undersized doesn't represent an int
Invalid command:  unused arguments: ['undersized']
pg dump_stuck {inactive|unclean|stale [inactive|unclean|stale...]} {<int>} :  show information about stuck pgs

Signed-off-by: xinxin shu <xinxin.shu@intel.com>
2015-01-16 01:33:07 +08:00
Wido den Hollander
d5e8ef5092 doc: Fix PHP librados documentation 2015-01-10 14:21:27 +01:00
Wido den Hollander
cf432fa670 doc: Add Librados PHP documentation 2015-01-09 14:16:08 +01:00
Dan van der Ster
bd7be04d6e doc: don't suggest mounting xfs with nobarrier
nobarrier is dangerous, so stop suggesting it as an example osd mount
options xfs.

Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
2015-01-08 09:49:10 +01:00
Ken Dreyer
274b989fec doc: rm reference to old Ubuntu release
Remove the reference to "Ubuntu 12.10" since this is EOL.

Clarify that we only recommend Ubuntu LTS releases.

(Since this information has a tendancy to become stale, perhaps this
whole paragraph should be removed here and we should simply point at the
main OS Recommendations page.)

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2015-01-02 10:37:10 -07:00
Wido den Hollander
49c2322160 doc: Instead of using admin socket, use 'ceph daemon' command. 2014-12-19 15:51:49 +01:00
John Wilkins
8241f114d1 Merge pull request #3165 from nilamdyuti/wip-doc-ceph
doc: Updates man page for Ceph

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2014-12-16 08:13:53 -08:00
cholcombe973
a198deea5f Modifying the docs to add the Get pool commands to match the CLI.
Signed-off-by: Chris Holcombe <chris.holcombe@nebula.com>
2014-12-08 16:10:38 -08:00
Nilamdyuti Goswami
00c96c289d doc: Adds ceph-deploy man page in TOC.
Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
2014-12-06 00:13:52 +05:30
John Wilkins
54d5ed3732 doc: Fixed index syntax.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2014-12-02 11:23:00 -08:00
Loic Dachary
2604ae0907 Merge pull request #3058 from nilamdyuti/wip-doc-ceph-disk
doc: Adds man page for ceph disk in TOC.

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-12-02 18:16:56 +01:00
Nilamdyuti Goswami
6862891c9c doc: Adds man page for ceph disk in TOC.
Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
2014-12-02 22:34:57 +05:30
Karl Eichwalder
0ee6437856 doc: remove superfluous white spaces (for testing)
Signed-off-by: Karl Eichwalder <ke@suse.de>
2014-11-13 11:42:09 +01:00
Karl Eichwalder
ee45f48e3f doc: Fix 2 syntax errors.
Signed-off-by: Karl Eichwalder <ke@suse.de>
2014-11-13 11:17:01 +01:00
Sage Weil
4d4b7d0bab doc/rados/configuration fix 'ods mkfs options' default
Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-11 07:52:39 -08:00
Sage Weil
a8c8c934d8 Merge pull request #2466 from nereocystis/osd-filesystem-options
doc: Add file system osd config settings
2014-11-11 07:50:44 -08:00
Samuel Just
0720e03ef3 Merge pull request #2456 from ceph/wip-9031-9262
Wip 9031 9262

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
2014-11-10 14:56:30 -08:00
Loic Dachary
c44bdb1dc9 erasure-code: document pool operations
A short introduction to the first time user of an erasure coded pool.
It includes a reminder of how it relates to cache tiering and links to
define new profiles with an example.

There was examples in the developer documentation but the operator
expects to find such a guide in the rados operations chapter.

http://tracker.ceph.com/issues/9970 Fixes: #9970

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-10 14:47:56 +01:00
John Wilkins
6da9405155 doc: Edited Key/Value store config reference.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-11-04 12:02:47 -08:00
John Wilkins
03be944cdc doc: Added Key/Value store config reference to index.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-11-04 12:02:28 -08:00
Dan Mick
9a12467a9c Merge pull request #2733 from dachary/wip-9372-injectargs
cli: do not parse injectargs arguments twice

Reviewed-by:  Dan Mick <dan.mick@inktank.com>
2014-10-23 12:32:37 -07:00
Yuan Zhou
024efeb6d4 EC: document the LRC per layer plugin configuration
LRC now uses Jerasure as the default EC backend. But it is actually
possible to switch to other backend like Isa using the low level
configuration. This commits Adds documents on how to specify the EC
backend in each LRC layer:

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2014-10-23 14:32:59 +08:00
Loic Dachary
a566610aaa doc: update injectargs syntax
Modify the examples to use the simpler syntax, not involving -- or
grouping with quotes.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-10-20 23:03:11 -07:00
David Zafman
a03f85a8e7 osd, osdc, librados, tools, rgw: Implement pgls of all namespaces
Add release note
New librados interface
New pg_nls_response_t over the wire protocol
Ignore internal namespace (.ceph_internal)
Enhance ObjListCtx to keep independent IoCtxImpl so nspace won't change out from under listing code
Add ListObject with private implementation ListObjectImpl to return from iterator
Add EINVAL error for old librados interface when LIBRADOS_ALL_NSPACES set
Add throw to old librados c++ interface when all_nspaces set

Fixes: #9031

Signed-off-by: David Zafman <dzafman@redhat.com>
2014-10-20 10:47:50 -07:00
Loic Dachary
64ca744313 doc: update memory-profiling with examples
* Update the ceph tell from ceph daemon tell id to the new
  ceph tell deamon.id form

* Add usages examples for easier copy / paste

* Add MON to the list of daemons that can be profiled

* Document CEPH_HEAP_PROFILER_INIT=true

* Remove trailing empty lines

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-10-08 09:47:54 +02:00
Loic Dachary
62235688c4 doc: missing osd prefix to ioprio config options
http://tracker.ceph.com/issues/9676 Fixes: #9676

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-10-07 10:10:24 +02:00
Sage Weil
ccf3e06a7c Merge pull request #2502 from yuyuyu101/kvstore-meta-cache
KeyValueStore: performance improvement and docs
2014-09-29 16:43:29 -07:00
Loic Dachary
9593d8769f documentation: erasure-code plugin isa does not require k/m
http://tracker.ceph.com/issues/9579 Refs: #9579

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-09-25 12:01:59 +02:00
Loic Dachary
9c825ec2c4 documentation: revise placement group number guide
When a cluster has few OSDs (less than 50) propose a preselection of
values: as long as the number of placement groups is not too small nor
too large, it won't make much of a difference anyway.

Users of small clusters tend to blindly apply the (OSD*100)/(pool size)
formula and worry about chosing a wrong value because they do not
understand the tradeoffs. The preselection will hopefully save them from
this uncertainty.

Add an explanation of how placement groups relate to OSDs, CRUSH and
pools to help understand the tradeoffs. Explain the
tradeoffs (durability, distribution and resource usages) with examples.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
Reviewed-by: Gerben Meijer <infernix@gmail.com>
Reviewed-by: Laurent Guerby <laurent@guerby.net>
2014-09-23 16:54:50 +02:00
Sage Weil
77b9f4a562 Merge pull request #2529 from dachary/wip-doc-troubleshooting
documentation: fix bugous osd stop/start example
2014-09-19 14:40:47 -07:00
Loic Dachary
639c9818fe documentation: explain ceph osd reweight vs crush weight
Using the wording from Gregory Farnum at
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-June/040961.html

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-09-19 17:19:41 +02:00