From: yonghengdexin735 Date: Mon, 11 Sep 2017 08:34:31 +0000 (+0800) Subject: doc/rbd:add info for rbd group X-Git-Tag: v13.0.1~792^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ad25da3a6293ad182507a7c8a598bb722581a992;p=ceph.git doc/rbd:add info for rbd group Signed-off-by: yonghengdexin735 --- diff --git a/doc/man/8/rbd.rst b/doc/man/8/rbd.rst index c37ca4474981..f1c38fa84a75 100644 --- a/doc/man/8/rbd.rst +++ b/doc/man/8/rbd.rst @@ -398,11 +398,30 @@ Commands :command:`trash restore` *image-id* Restore an image from trash. -Image and snap specs -==================== +:command:`group create` *group-spec* + Create a consistency group. + +:command:`group list` [-p | --pool *pool-name*] + List rbd consistency groups. + +:command:`group remove` *group-spec* + Delete a consistency group. + +:command:`group image add` *group-spec* *image-spec* + Add an image to a consistency group. + +:command:`group image list` *group-spec* + List images in a consistency group. + +:command:`group image remove` *group-spec* *image-spec* + Remove an image from a consistency group. + +Image, snap and group specs +=========================== | *image-spec* is [*pool-name*]/*image-name* | *snap-spec* is [*pool-name*]/*image-name*\ @\ *snap-name* +| *group-spec* is [*pool-name*]/*group-name* The default for *pool-name* is "rbd". If an image name contains a slash character ('/'), *pool-name* is required.