:command:`create` [*image-name*]
Will create a new rbd image. You must also specify the size via --size.
+:command:`clone` [*parent-snapname*] [*image-name*]
+ Will create a clone (copy-on-write child) of the parent snapshot.
+ Size and object order will be identical to parent image unless specified.
+
:command:`resize` [*image-name*]
Resizes rbd image. The size parameter also needs to be specified.
rbd snap create mypool/myimage@mysnap
+To create a copy-on-write clone of a snapshot::
+
+ rbd clone myimage@mysnap cloneimage
+
To delete a snapshot::
rbd snap rm mypool/myimage@mysnap
-.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
.
.\" 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
.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
.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
.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.
-.\"
.