Ilya Dryomov
fa32d97a9f
rbd: recognize alloc_size map option
...
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-02-01 17:59:38 +01:00
Dongsheng Yang
5639a8b187
rbd: introduce abort_on_full option for rbd map
...
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2019-01-12 03:42:15 -05:00
Mykola Golub
b3e4d43c15
rbd: add 'config global' command to get/store overrides in mon config db
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-10-10 17:31:32 +03:00
Mykola Golub
ecdf8cd6b2
rbd: add config commands
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-09-20 10:35:18 +03:00
Mykola Golub
ad9fc49776
Merge pull request #23896 from Songweibin/wip-group-snap-rollback
...
rbd: add group snap rollback method
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-09-13 19:35:10 +03:00
songweibin
dec2ea83cf
tools/rbd: support group snap rollback CLI
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-09-12 23:42:15 +08:00
Gangbiao Liu
c7f579ad44
doc: Fix Spelling Error In File "ceph.rst" and "rbd.rst"
...
Signed-off-by: Gangbiao Liu <liugangbiao@cmss.chinamobile.com>
2018-09-05 01:51:27 +08:00
Mykola Golub
7f27f19753
rbd: CLI to migrate images
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-08-14 18:29:45 -04:00
Jason Dillaman
3e8624f157
rbd: add support for namespaces
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-06-22 10:43:51 -04:00
Jason Dillaman
1c8312544f
doc/rbd: update man page
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-06-20 12:39:34 -04:00
Ilya Dryomov
260741a47d
doc: lock_timeout is a per mapping option
...
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-04-20 16:39:09 +02:00
Ilya Dryomov
d0ccfb4026
Merge pull request #21344 from yangdongsheng/lock_timeout
...
rbd: support lock_timeout in rbd mapping
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2018-04-19 10:26:09 +02:00
Dongsheng Yang
b09e4fe584
rbd: support lock_timeout in rbd mapping
...
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2018-04-19 02:59:21 -04:00
Ilya Dryomov
6931ab7ec9
Merge pull request #21056 from hitoshikamei/rbdmap-notrim
...
rbd: add notrim option to rbd map
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2018-04-19 08:51:57 +02:00
Hitoshi Kamei
bed9225607
rbd: add notrim option to rbd map
...
Add the notrim option to the rbd map command to avoid
discarding allocated blocks from a fully provisioned image,
and add the description of notrim option to manpage.
When enabled, user programs such as mkfs.xfs will receive -EOPNOTSUPP
if it sends a discard request for an image with this option.
Signed-off-by: Hitoshi Kamei <hitoshi.kamei.xm@hitachi.com>
Cc: Mitsuo Hayasaka <mitsuo.hayasaka.hu@hitachi.com>
2018-03-27 15:39:02 +09:00
Hitoshi Kamei
ab0fb4d86a
rbd: manpage for thick provision
...
Add the description of --thick-provision option for the rbd command.
Signed-off-by: Hitoshi Kamei <hitoshi.kamei.xm@hitachi.com>
Cc: Mitsuo Hayasaka <mitsuo.hayasaka.hu@hitachi.com>
2018-03-13 17:25:35 +09:00
songweibin
7deeef9164
rbd: allow remove all unprotected snapshots
...
allow remove all unprotected snapshots when exiting
protected snapshots in the same image.
Fixes: http://tracker.ceph.com/issues/23126
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-03-01 21:01:24 +08:00
songweibin
034ad878fd
rbd: add 'group rename' action to CLI and Python API
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-02-26 10:21:58 +08:00
Jason Dillaman
3ac57a7eb7
Merge pull request #19711 from trociny/wip-20762
...
rbd: unified way to map images using different drivers
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2018-02-02 13:56:13 -05:00
songweibin
0e50c352b3
pybind/rbd: fix some typo
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-01-31 17:34:35 +08:00
songweibin
a12f9b81cb
doc/rbd: update rbd man page
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-01-31 12:20:18 +08:00
Mykola Golub
6a57358add
rbd: unified way to map images using different drivers
...
Instead of "rbd map|unmap|showmapped", "rbd ndb map|unmap|list",
"rbd ggate map|unmap|list" commands, provide:
rbd device -t krbd|nbd|ggate|... map|unmap|list
which gives interface consistent between drivers.
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-01-29 09:34:11 +02:00
songweibin
0551029242
rbd: add deep cp CLI method
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-01-24 09:04:33 +08:00
songweibin
b00047ac25
doc: add missing several commands in rbd CLI man page
...
fix: http://tracker.ceph.com/issues/14539
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-12-24 09:21:08 +08:00
songweibin
a926481cec
doc: make rbd commads arranged in alphabetical order
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-12-22 16:05:04 +08:00
Jason Dillaman
8e86a43b63
Merge pull request #17461 from PCzhangPC/bench_rw_test
...
rbd:introduce rbd bench rw(for read and write mix) test
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-03 13:16:24 -04:00
PCzhangPC
7ec29ac6db
rbd:update some documents of rbd bench
...
Signed-off-by: PCzhangPC <pengcheng.zhang@easystack.cn>
2017-09-15 14:24:26 +08:00
yonghengdexin735
ad25da3a62
doc/rbd:add info for rbd group
...
Signed-off-by: yonghengdexin735 <zhang.zezhu@zte.com.cn>
2017-09-11 17:56:25 +08:00
songweibin
f9a94641e5
rbd: modified some commands' description into imperative sentence
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-07-31 20:25:30 +08:00
Gregory Farnum
ba03ab92a8
Merge pull request #16629 from johnwilkins/wip-doc-remove-contractions
...
Remove contractions from the documentation.
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-27 10:49:38 -07:00
John Wilkins
ff2eebf88a
doc/man: Removed contractions for ESL speakers.
...
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2017-07-27 09:57:23 -07:00
songweibin
ba01a9462c
doc: add rbd new trash cli in rbd.rst
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-07-22 16:18:11 +08:00
Ilya Dryomov
c72d8b0409
rbd: recognize exclusive map option
...
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-04-25 20:15:41 +02:00
Dongsheng Yang
f16899a749
rbd: use the unified --export-format option for rbd export and rbd import
...
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2017-02-19 20:42:03 +08:00
Dongsheng Yang
26b858ee1e
rbd: introduce --export-format to export command
...
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2017-02-19 20:42:03 +08:00
Dongsheng Yang
5e034600a2
rbd: introduce --import-format to import command
...
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2017-02-19 20:42:03 +08:00
Ilya Dryomov
620f5e1455
rbd: expose rbd unmap options
...
Reuse rbd map -o infrastructure to expose rbd unmap options in
a similar fashion. Currently it's just one bool option, but we may
need more in the future.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2016-10-07 17:21:15 +02:00
Jason Dillaman
7176b61bad
Merge pull request #11313 from ceph/wip-krbd-lock-on-read-option
...
rbd: recognize lock_on_read option
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-10-05 10:00:29 -04:00
Ilya Dryomov
e857b78965
rbd: recognize lock_on_read option
...
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2016-10-04 19:50:32 +02:00
Ilya Dryomov
d38dc29ed5
doc: clarify rbd size units
...
It wasn't clear from the man page that --size defaults to M.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2016-10-04 10:21:36 +02:00
Kefu Chai
f468c73b6b
Merge pull request #10619 from chengweiv5/fix-doc
...
doc: fix rados/configuration/osd-config-ref.rst
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-15 23:00:02 +08:00
Chengwei Yang
c8c92f8a2c
doc: format 2 now is the default image format
...
Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
2016-08-12 17:44:16 +08:00
Chengwei Yang
cb2880a165
doc: replace cluster name with cluster-name to avoid confusing
...
Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
2016-08-12 13:20:04 +08:00
Chengwei Yang
82e928c6a3
doc: fix rbd map format in rbd manpage
...
Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
2016-08-11 09:19:39 +08:00
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
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
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
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
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