From a446f32394c661a1b369024471548590631d45d8 Mon Sep 17 00:00:00 2001 From: Florian Haas Date: Fri, 17 Feb 2012 21:15:15 +0100 Subject: [PATCH] doc: fix snapshot creation/deletion syntax in rbd man page (trivial) Creating a snapshot requires using "rbd snap create", as opposed to just "rbd create". Also for purposes of clarification, add note that removing a snapshot similarly requires "rbd snap rm". Thanks to Josh Durgin for the explanation on IRC. Signed-off-by: Florian Haas Signed-off-by: Josh Durgin --- doc/man/8/rbd.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/man/8/rbd.rst b/doc/man/8/rbd.rst index fbf8e3cf63891..7069e301d96c5 100644 --- a/doc/man/8/rbd.rst +++ b/doc/man/8/rbd.rst @@ -154,7 +154,11 @@ To delete an rbd image (be careful!):: To create a new snapshot:: - rbd create mypool/myimage@mysnap + rbd snap create mypool/myimage@mysnap + +To delete a snapshot:: + + rbd snap rm mypool/myimage@mysnap To map an image via the kernel with cephx enabled:: -- 2.39.5