Commit Graph

291 Commits

Author SHA1 Message Date
Dongsheng Yang
0575a9e872 tools/rbd: introduce an option of --force for snap remove
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2016-07-26 02:23:30 -04:00
John Spray
c76c31d312 tools: remove legacy cephfs tool
This has been deprecated for quite some time, in favour
of using proper vxattr and libcephfs interfaces.

Fixes: http://tracker.ceph.com/issues/16035
Signed-off-by: John Spray <john.spray@redhat.com>
2016-07-19 14:00:30 +01:00
Ali Maredia
cfcf0706f2 cmake: remove option
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-07-07 14:31:32 -04:00
Kefu Chai
38afdbe590 Merge pull request #9731 from badone/wip-doc-ceph-authtool-print-fix
doc: ceph-authtool man page option is --print-key not --print

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-07-05 13:03:46 +08:00
Kefu Chai
e50460b69e cmake: install rbd-replay-many and its manpage
rpm packaging needs it explicitly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-07-01 00:15:37 +08:00
Dongsheng Yang
23a135d2a8 tools/rbd: introduce a simple bench for read
Currently, we have a bench-write for in rbd tool, but we don't have
a simple bench for read.

This patch add a new subcommand of bench, with an option of --io-type.
Then we can do a simple bench for write or read.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2016-06-20 01:24:44 -04:00
Dongsheng Yang
1dd542d8ce tools/rbd: make bench-write invisible to user
rbd bench-write is going to be deprecated. This patch
makes it invisible in help message and manpage. But it
is still working.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2016-06-20 01:24:44 -04:00
Jason Dillaman
6034019cdf Merge pull request #9151 from fullerdj/wip-djf-15706
rbd: add methods to set and get snapshot limits

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-06-16 14:05:16 -04:00
Brad Hubbard
22dd269a93 doc: ceph-authtool man page option is --print-key not --print
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2016-06-16 08:58:41 +10:00
Douglas Fuller
653bc453e3 rbd: add methods to set and get snapshot limits
Add a subcommand, rbd snap limit set <image> --limit <integer>, to
limit the number of snapshots that may be made of a given image.
To clear, use rbd snap limit clear <image>. Add an omap
key, 'snap_limit' to the RBD header for implementation. Add object
classes to set and query the limit. Older OSDs will ignore the limit.

Fixes: http://tracker.ceph.com/issues/15706
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2016-06-07 13:44:24 -07:00
Alfredo Deza
9d42a0f88d doc: ceph-deploy man: remove references to mds destroy. Not implemented
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-05-31 14:12:13 -04:00
Kefu Chai
60588e82e9 Merge pull request #9284 from tchaikov/wip-cmake-doc
cmake,make: speed up man page generation

Reviewed-by: François Lafont <francois.lafont@ac-versailles.fr>
2016-05-29 00:05:21 +08:00
Vikhyat Umrao
949f917af8 rgw : cleanup radosgw-admin temp command as it was deprecated
and also implementation code for this command was removed in commit
8d7c8828b0

Fixes: http://tracker.ceph.com/issues/16023

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2016-05-26 15:43:41 +05:30
Kefu Chai
0e00d2f21b doc,cmake: do not scan non-man pages when building man pages
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-24 12:58:43 +08:00
Kefu Chai
2ae1eae849 Merge pull request #9143 from tchaikov/wip-osdmaptool-man
man: osdmaptool: document test-map-pgs* options

Reviewed-by: Vikhyat Umrao <vumrao@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-19 13:08:22 +08:00
Kefu Chai
badc596d72 man: osdmaptool: document test-map-pgs* options
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-18 10:41:35 +08:00
Vikhyat Umrao
f8eca5e7e7 doc : adding explanation of --no-increasing for
reweight-by-utilization and test-reweight-by-utilization
commands

Fixes: http://tracker.ceph.com/issues/15899

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2016-05-16 18:02:41 +05:30
Kefu Chai
31a0e0c4d8 cmake: restructure and add missing manpages
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-12 13:47:49 +08:00
Kefu Chai
ef6b52373c cmake: build man pages
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-12 13:01:52 +08:00
Sage Weil
e66a94f2f6 Merge pull request #8650 from scienceluo/wip-lkx-fixesdoc
doc: Fixes "branch -b" and "Qemu"

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2016-04-22 11:51:29 -04:00
Vikhyat Umrao
ddbe763027 man : ceph-deploy add config keyword in ceph-deploy
config push and pull command

Fixes: http://tracker.ceph.com/issues/15568

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2016-04-22 15:35:47 +05:30
luokexue
6d69636ee9 doc: Fixes all "Qemu" to "QEMU"
Signed-off-by: luokexue <luo.kexue@zte.com.cn>
2016-04-16 11:42:19 +08:00
Sage Weil
2c72c9aa52 doc/8/ceph-deploy: do not include ext4 as an example value
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-12 08:48:46 -04:00
Kris Jurka
0a622e6054 doc: rgw admin uses "region list" not "regions list" 2016-04-08 21:47:28 -07:00
Robin H. Johnson
8e2c804a3a authtool: update --help and manpage to match code.
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2016-04-05 22:10:13 +00:00
Nathan Cutler
d01d983ad4 packaging: rbdmap manpage
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-03-23 15:05:16 +01:00
Nathan Cutler
7da141df0f rbdmap: manpage
http://tracker.ceph.com/issues/15212 Fixes: #15212

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-03-19 22:01:40 +01:00
Sage Weil
b0d9b0de15 mon: remove 'mds setmap' command
This command has no discernable purpose, and is difficult and
dangerous to support anyway.

Fixes: #15136
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-17 10:40:24 -04:00
Kefu Chai
797f1d41d9 man/8/ceph.rst: remove invalid option for reweight-by-*
--yes-i-really-mean-it is not valid option for reweight-by-*

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-03-10 11:13:42 -05:00
Zack Cerza
89daecf496 Merge pull request #8003 from liewegas/wip-ceph-disk-doc
man/8/ceph-disk: fix formatting issue
2016-03-09 14:32:50 -07:00
Sage Weil
2b9775db2c Merge pull request #7890 from liewegas/wip-reweight
mon: osd [test-]reweight-by-{pg,utilization} command updates

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-03-09 14:06:30 -05:00
Sage Weil
8dcaacbb05 man/8/ceph-disk: fix formatting issue
ERROR: /srv/autobuild-ceph/gitbuilder.git/build/doc/man/8/ceph-disk.rst:39: Unexpected indentation.
WARNING: /srv/autobuild-ceph/gitbuilder.git/build/doc/man/8/ceph-disk.rst:40: Block quote ends without a blank line; unexpected unindent.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-09 12:30:23 -05:00
Loic Dachary
d355a383d1 doc: update ceph-disk to refer to ceph-disk --help
The ceph-disk page is often obsolete, mostly because maintaining
it requires a significant amount of copy/paste and re-formatting.
Now that the --help of ceph-disk has been updated to include a more
verbose explanation of each subcommand, simplify the man page to
give an overview of the subcommands and suggest the --help is used
to get more information.

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-04 09:13:35 +07:00
Dan van der Ster
ddf5c2b623 osd: add sure and no-increasing options to reweight-by-*
Add a --no-increasing option to reweight-by-* which can be used to only decrease
OSD weights without increasing any. This is useful for example if you need to
urgently lower the weight of nearly full OSDs.

Also add a --yes-i-really-mean-it confirmation to reweight-by-*.

Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
2016-03-01 11:37:58 -05:00
Jason Dillaman
622748ae15 rbd: deprecate image format 1
The rbd cli will warn about the deprecation when attempting to create
image format 1 images.  librbd will log an error message when opening
a format 1 RBD image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-02-29 13:22:32 -05:00
Mike Shuey
4e3ce25697 Add better documentation of --setuser and --setgroup options for ceph-disk.
Signed-off-by: Mike Shuey <shuey@purdue.edu>
2016-02-10 09:36:40 -05:00
Mike Shuey
17fe9d229c Add --setuser and --setgroup options to ceph-disk(8).
Signed-off-by: Mike Shuey <shuey@purdue.edu>
2016-02-10 09:30:08 -05:00
Jason Dillaman
3c1f0973d7 Merge pull request #7108 from jdurgin/wip-rbd-mirroring
rbd-mirror: daemon skeleton

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-02-05 12:02:32 -05:00
Josh Durgin
b35061a7e6 man: stub manpage for rbd-mirror
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-02-04 00:10:16 -08:00
Ken Dreyer
ec162f068b doc: add orphans commands to radosgw-admin(8)
The --help text was added in 105a76bf54.
Add the corresponding entries to the man page.

Fixes: #14637

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2016-02-03 19:53:25 -07:00
Danny Al-Gaaf
e794126371 man/8/ceph.rst: fix man page --admin-daemon
The option "--admin-socket ADMIN_SOCKET/DAEMON_NAME" was blocked
as fix for #3944, fix man page to reflect it.

Fix for make warning:

doc/man/8/ceph.rst:5: SEVERE: Duplicate ID: "cmdoption-ceph--admin-socket".

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2016-01-29 21:51:17 +01:00
Sage Weil
fbe910378e Merge pull request #7244 from mikulely/fix-authtool-doc
doc: remove redundant space in ceph-authtool/monmaptool doc
2016-01-29 08:49:17 -05:00
Kefu Chai
4a2351eb89 doc: amend the rados.8
explain the run-name in more details.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-16 00:48:44 +08:00
Kefu Chai
3daf908ba0 Merge pull request #5900 from ritz303/wip-doc-12899
doc: Updated the rados command man page to include the --run-name opt…

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-01-16 00:45:48 +08:00
Jiaying Ren
70cb0f1bf9 doc: remove redundant space in monmaptool doc
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2016-01-15 15:42:15 +08:00
Jiaying Ren
24d10e6330 doc: remove redundant space in ceph-authtool doc
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2016-01-15 14:59:59 +08:00
Loic Dachary
55fd218a6a Merge pull request #7021 from tchaikov/wip-rados-manpage
man: document listwatchers cmd in "rados" manpage

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-01-11 12:35:42 +01:00
Yehuda Sadeh
f854bb6361 Merge pull request #6080 from clever215/wkm-master-139
rgw: modify documents and help infos' descriptions to the usage of option date when executing command "log show"

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-01-07 17:10:43 -08:00
Kefu Chai
c2e391301e man: document listwatchers cmd in "rados" manpage
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-12-23 11:23:49 +08:00
Vikhyat Umrao
71690e707f rbd: add --object-size option
Object size can be specified when creating an image with the --order option,
as a number of bits in the size.

This patch is adding new option --object-size. This new option will specify
object size directly for example --object-size 2M.

It would be easier to use. --order is still present for backwards compatibility.
For simplicity, we are rounding up the object size to the nearest power of 2.

Fixes #12112

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2015-12-08 16:14:03 +05:30