From: John Wilkins Date: Mon, 2 Jul 2012 15:55:36 +0000 (-0700) Subject: doc: Added sudo and cleaner instruction for unmap. X-Git-Tag: v0.49~53 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b91becadf8775686ce71ca2892c96b1e2140d875;p=ceph.git doc: Added sudo and cleaner instruction for unmap. Signed-off-by: John Wilkins --- diff --git a/doc/rbd/rbd-ko.rst b/doc/rbd/rbd-ko.rst index 71da303e05b5..02e688584586 100644 --- a/doc/rbd/rbd-ko.rst +++ b/doc/rbd/rbd-ko.rst @@ -81,18 +81,17 @@ devices mapped to kernel objects, execute the following:: ls /sys/bus/rbd/devices - Unmapping a Block Device ------------------------ To unmap an RBD image with the ``rbd`` command, specify the ``rm`` option and the device name (i.e., by convention the same as the RBD image name). :: - rbd unmap {device} + sudo rbd unmap /dev/rbd/{poolname}/{imagename} For example:: - rbd unmap foo + sudo rbd unmap /dev/rbd/rbd/foo To unmap an RBD image from a kernel object, specify its index and use ``tee`` to call ``remove`` as follows, but replace ``{device-number}`` with the number