Commit Graph

649 Commits

Author SHA1 Message Date
Kefu Chai
5153c491a7
Merge pull request #33901 from rs-fabrica/rados_man_page_options
doc/man/8/rados.rst: including all available options

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-15 07:49:52 +08:00
Jeff Layton
444a4e7f9b
Merge pull request #33761 from jtlayton/wip-44441
doc: document wsync and nowsync mount options in mount.ceph(8)
2020-04-13 07:20:40 -04:00
Alexandre Bruyelles
400ace85db
doc/man/8/monmaptool.rst: update the page with the latest options
Signed-off-by: Alexandre Bruyelles <jack@jack.fr.eu.org>
2020-03-29 18:00:02 +02:00
Rodrigo Severo
2f77ef2de9 doc/man/8/rados: include all available options
Include all available options in documentation page.

Signed-off-by: Rodrigo Severo <rodrigo@fabricadeideias.com>
2020-03-27 15:40:39 +08:00
Sean Fang
ab772c562a doc: Fix three link errors about mount cephfs
Some links about mount cephfs did not jump to the right place.

Signed-off-by: Sean Fang <silence.boy@live.cn>
2020-03-12 16:35:23 +08:00
Jeff Layton
f4128a258a doc: document wsync and nowsync mount options in mount.ceph(8)
Fixes: https://tracker.ceph.com/issues/44441
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2020-03-05 09:18:40 -05:00
Nathan Cutler
58ea553b2d doc: adjust for mon_status changes in octopus
In octopus, we no longer have "ceph mon_status", but we do have
"ceph tell mon.<id> mon_status", so reflect this in the docs.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-03-03 22:47:07 +01:00
Patrick Donnelly
4e90fbbcdf
Merge PR #33491 into master
* refs/pull/33491/head:
	mount.ceph: add "fs=<fs_name>" mount options support

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-03-02 16:59:51 -08:00
Casey Bodley
affc79bdcf
Merge pull request #32660 from cbodley/wip-rgw-admin-zone-shards
rgw: Increase the default number of RGW bucket shards

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2020-03-02 09:38:04 -05:00
Sage Weil
20f76b09e7 Merge PR #33488 into master
* refs/pull/33488/head:
	doc/mgr/cephadm: document how to see the logs
	ceph: -W as shorthand for --watch-channel
	pybind/mgr_module: make mgr log message prefix a bit less verbose
	mgr/cephadm: silence remoto logger info messages
	mgr/cephadm: add misc info messages for major events
	mgr/cephadm: adjust logging
	mgr/cephadm: log to cluster channel by default
	pybind/mgr_module: infrastructure to allow logging to cluster log
	mgr/mgr_module: log to mgr log even when log_to_file
	mon: accept cephadm channel to 'ceph log last'
	ceph: allow watching channels aside from cluster and audit
	mon/LogMonitor: fix debug output for logmonitor output file parsing
	mgr: allow logging to any channel

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-02-27 19:46:20 -06:00
Casey Bodley
f57bf02370 radosgw-admin: allow zone[group] modify to configure index shards
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-02-27 15:12:22 -05:00
Sage Weil
48691b582b ceph: -W as shorthand for --watch-channel
'ceph -w' to watch default cluster channel
'ceph -W foo' to watch channel 'foo'

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-27 12:05:42 -06:00
Xiubo Li
7367382ef2 mount.ceph: add "fs=<fs_name>" mount options support
"fs" is one alias for "mds_namespace=" and it will be cleaner and
be more user-friendly to use. The "fs" will be translated to
"mds_namespace" before sending it to kernel space.

And the "mds_namespace" will be deprecated to use any more.
Update the documents at the same time.

Fixes: https://tracker.ceph.com/issues/44214
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-02-25 21:37:56 -05:00
Mykola Golub
eb53985dd7 rbd: add trash purge schedule commands
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-02-25 09:52:22 +00:00
Mykola Golub
8fe22f22f3 rbd: add 'mirror snapshot schedule' commands
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-02-20 16:24:28 +00:00
Sage Weil
b4e06c5b31 doc/rados/operations: adjust docs a bit
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-06 07:09:29 -06:00
Jason Dillaman
27c9b1ecb8
Merge pull request #32735 from trociny/wip-doc-mirror-snapshot
doc: document "mode" param for "rbd mirror image enable" command

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-01-24 14:30:22 -05:00
Mykola Golub
6171c26a94 doc: document "mode" param for "rbd mirror image enable" command
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-01-23 18:10:19 +00:00
Rishabh Dave
34c6f2f11a doc: minor fix in mount.ceph
Also, fix the indentation since we are already here.

Fixes: https://tracker.ceph.com/issues/43743
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2020-01-21 19:43:25 +05:30
Kefu Chai
c3a914a8c6 doc/man: improve bluefs-bdev-expand option
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-10 20:16:01 +08:00
Patrick Donnelly
29b318a111
doc: remove reference to obsolete scrub command
Fixes: e9a5ce0897
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-07 15:35:01 -08:00
David Zafman
b0a1b758d0 mgr: Change default upmap_max_deviation to 5
Fixes: https://tracker.ceph.com/issues/43312

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-06 21:35:19 -08:00
David Zafman
621acf8ce7 osdmaptool: Add --upmap-active to simulate active upmap balancing
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-06 21:35:19 -08:00
David Zafman
184e9d1ae3 doc: Add upmap options to osdmaptool man page and give example
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-06 21:35:19 -08:00
David Zafman
e42a6ccb18 tools: osdmaptool document non-upmap options that were missing
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-06 21:35:19 -08:00
taeuk_kim
73bd6408db doc: fix a typo in a command
Co-authored-by: donggyu_park <donggyu_park@tmax.co.kr>
Signed-off-by: taeuk_kim <taeuk_kim@tmax.co.kr>
2019-12-13 11:43:08 +09:00
Ilya Dryomov
abd20b5ca9 doc: clarify support for rbd fancy striping
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-12-11 12:41:09 +01:00
Kefu Chai
1cb5e6a02f
Merge pull request #30498 from jecluis/wip-mon-no-config
mon: allow running without a config file

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-05 22:59:56 +08:00
Sage Weil
884c84d844 Merge PR #31348 into master
* refs/pull/31348/head:
	tools/rados: update advisory lock break usage with --lock-cookie required

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-02 12:55:49 -06:00
Joao Eduardo Luis
065d12b826 common: allow running without config
If `--no-config-file` is specified, allow the caller to ignore the
requirements to find a config file. This presumes that the caller either
doesn't need to be configured, or that whatever it may need is provided
via the cli.

Signed-off-by: Joao Eduardo Luis <joao@suse.com>
2019-12-02 23:28:31 +08:00
Nathan Cutler
4353b5548e doc: mention --namespace option in rados manpage
Fixes: https://tracker.ceph.com/issues/43021
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-11-26 15:39:42 +01:00
Zhi Zhang
fd3602e4b8 tools/rados: update advisory lock break usage with --lock-cookie required
Advisory lock break rados command actually needs --lock-cookie arg,
otherwise it can't find correct locker and return ENOENT. So update
its usgae and add some logs for debug.

Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
2019-11-26 12:49:21 +08:00
Kefu Chai
8e93d26c0e doc/man/ceph: "heap" is now an asok command
after the big asok/tell cleanup, "heap" is now an asok command, so
update the manpage accordingly

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-11-18 13:51:19 +08:00
Brad Hubbard
d2b806070d tools/rados: Unmask '-o' to restore original behaviour
0b369e1aff masked the original behaviour of '-o' which was to indicate
'outfile' as documented in the man page. Changing object-size to capital
o will restore the original behaviour.

Fixes: https://tracker.ceph.com/issues/42477

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2019-11-12 09:20:03 +10:00
Patrick Donnelly
8971dd7cdc
Merge PR #31024 into master
* refs/pull/31024/head:
	doc: improve in mount.ceph man page
	doc: describe mds_namespace option in mount.ceph man page

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-11 12:21:34 -08:00
Patrick Donnelly
452a5136c7
Merge PR #30911 into master
* refs/pull/30911/head:
	doc/ceph-fuse: describe -n option

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-11-11 12:03:21 -08:00
Sage Weil
3e9a2d8065 Merge PR #31177 into master
* refs/pull/31177/head:
	doc: update with zone bucket and straw2 addition

Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-08 07:22:05 -06:00
Rishabh Dave
7f620fdc15 doc/ceph-fuse: describe -n option
Fixes: https://tracker.ceph.com/issues/42300
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-11-04 18:09:39 +05:30
Rishabh Dave
a4c95e6776 doc: improve in mount.ceph man page
Add new examples to show how to mount with and without authentication,
mon sockets and secret keys for CephX users in mount command, don't show
monitor's IP address in every example, use real IP addresses instead of
just writing "monhost", use non-standard port number in non-standard
socket number example and keep the mount point same across all examples.

Add `mount -t ceph` example to synopsis, replace "monaddr1" by
"mon1_socket", since it doesn't necessarily have to be only IP
addresses.

Rearrange options alphabetically so that it's easy to find them but
keep similar like dirstat and nodirstat together, increase indentation
for "Options" section from 2 to 4 spaces, wrap lines that are too long
and elaborate explanation wherever necessary.

Capitalize "ceph", wherever appropriate.

Fixes: https://tracker.ceph.com/issues/42406
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-11-02 12:47:27 +05:30
Jason Dillaman
b50e6f5894
Merge pull request #30994 from JackSlateur/rbd_merged_du
rbd: add --merge to disk-usage

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-10-30 12:06:08 -04:00
Alexandre Bruyelles
79d545c006
rbd: add --merge-snapshots to disk-usage
Signed-off-by: Alexandre Bruyelles <jack@jack.fr.eu.org>
2019-10-28 16:29:26 +01:00
Changcheng Liu
f241095e3a doc: update with zone bucket and straw2 addition
1. zone bucket non-leaf type is added.
2. crush bucket straw2 algorithm is added.

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
2019-10-27 12:08:12 +08:00
Sage Weil
29c97547a9 Merge PR #30859 into master
* refs/pull/30859/head:
	auth: EACCES, not EPERM
	mon: shunt old tell commands from cli interface to asok
	mon: allow mgr to tell mon.foo smart
	mon: include quorum features in quorum_status
	qa/workunits/mon/caps.sh: fix test
	ceph_test_rados_api_cmd: fix MonDescribe test
	Merge branch 'vstart-fs-auth' of git://github.com/batrick/ceph into wip-cleanup-mon-asok
	test/pybind/test_ceph_argparse: fix tests
	vstart: add volume client keys to keyring
	vstart: use fs authorize to create master client key
	vstart: redirect some output to stderr
	vstart: output command strings to stderr
	qa/workunits/cephtool/test.sh: fix 'quorum enter' caller
	qa: change mon_status calls to quorum_status or tell commands
	mon: fix 'heap ...' command
	mon: consolidate 'sync force' commands
	mon: allow asok commands to return an error code
	mon: move 'quorum enter|exit' and 'mon_status' to asok
	mon: fix 'smart' asok command
	mon: remove old 'config set' and 'injectargs'

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-10-23 21:05:42 -05:00
Rishabh Dave
61f4142bec doc: describe mds_namespace option in mount.ceph man page
And add an example for it.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-10-21 20:07:57 +05:30
Drunkard Zhang
b55fdadb65 doc: add missed word 'than' in doc/man/8/rbd.rst
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2019-10-21 22:21:40 +08:00
Sage Weil
fab205d45a qa/workunits/cephtool/test.sh: fix 'quorum enter' caller
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-12 12:05:36 -05:00
Sage Weil
e3260a81d5 mon: consolidate 'sync force' commands
Replace the 'ceph [mon] sync force' commands and just use the asok
sync_force command instead.  This is a low-level command that nobody should
reasonsbly using except in an emergency, so do not bother with trying to
maintain compatibility; it's a bit rediculous that we had 3 variations of
this to being with!

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-12 12:05:36 -05:00
Casey Bodley
8cd683aa60
Merge pull request #30742 from croit/rgw-fix-max-concurrent-ios-docs
radosgw-admin: update help for max-concurrent-ios

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-10-10 12:35:14 -04:00
Kefu Chai
2ce2a3d62a
Merge pull request #30645 from tchaikov/wip-doc/man/ceph/config
doc/man/ceph: document 'ceph config'

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-10-09 15:20:25 +08:00
Paul Emmerich
9a71b8ad5f radosgw-admin: update help for max-concurrent-ios
--max-concurrent-ios works for all bucket operations and is quite
important when working with huge buckets

Signed-off-by: Paul Emmerich <paul.emmerich@croit.io>
2019-10-07 00:15:08 +02:00