summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorDan Mick <dan.mick@inktank.com>2012-07-10 13:09:14 -0700
committerDan Mick <dan.mick@inktank.com>2012-07-10 14:00:06 -0700
commit2a6af208639e0a8f5028a8663b047491126f2e5e (patch)
treea149af37ab70a37f2165129ce8529b57ffaf1b9e /man
parente3531497d4c20738542115fcc5b0cf5ecebe734a (diff)
downloadceph-2a6af208639e0a8f5028a8663b047491126f2e5e.tar.gz
rbd: update manpage for clone command
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Diffstat (limited to 'man')
-rw-r--r--man/rbd.821
1 files changed, 16 insertions, 5 deletions
diff --git a/man/rbd.8 b/man/rbd.8
index 7599896596a..53ac2c9266f 100644
--- a/man/rbd.8
+++ b/man/rbd.8
@@ -1,4 +1,4 @@
-.TH "RBD" "8" "May 02, 2012" "dev" "Ceph"
+.TH "RBD" "8" "July 10, 2012" "dev" "Ceph"
.SH NAME
rbd \- manage rados block device (RBD) images
.
@@ -28,7 +28,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructeredText.
+.\" Man page generated from reStructuredText.
.
.SH SYNOPSIS
.nf
@@ -99,6 +99,10 @@ Will dump information (such as size and order) about a specific rbd image.
.B \fBcreate\fP [\fIimage\-name\fP]
Will create a new rbd image. You must also specify the size via \-\-size.
.TP
+.B \fBclone\fP [\fIparent\-snapname\fP] [\fIimage\-name\fP]
+Will create a clone (copy\-on\-write child) of the parent snapshot.
+Size and object order will be identical to parent image unless specified.
+.TP
.B \fBresize\fP [\fIimage\-name\fP]
Resizes rbd image. The size parameter also needs to be specified.
.TP
@@ -198,6 +202,14 @@ rbd snap create mypool/myimage@mysnap
.ft P
.fi
.sp
+To create a copy\-on\-write clone of a snapshot:
+.sp
+.nf
+.ft C
+rbd clone myimage@mysnap cloneimage
+.ft P
+.fi
+.sp
To delete a snapshot:
.sp
.nf
@@ -224,13 +236,12 @@ rbd unmap /dev/rbd0
.SH AVAILABILITY
.sp
\fBrbd\fP is part of the Ceph distributed file system. Please refer to
-the Ceph wiki at \fI\%http://ceph.newdream.net/wiki\fP for more information.
+the Ceph documentation at \fI\%http://ceph.com/docs\fP for more information.
.SH SEE ALSO
.sp
\fBceph\fP(8),
\fBrados\fP(8)
.SH COPYRIGHT
-2011, New Dream Network
+2012, Inktank Storage, Inc.
.\" Generated by docutils manpage writer.
-.\"
.