From ad25da3a6293ad182507a7c8a598bb722581a992 Mon Sep 17 00:00:00 2001 From: yonghengdexin735 Date: Mon, 11 Sep 2017 16:34:31 +0800 Subject: [PATCH] doc/rbd:add info for rbd group Signed-off-by: yonghengdexin735 --- doc/man/8/rbd.rst | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) 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. -- 2.47.3