]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Added sudo and cleaner instruction for unmap.
authorJohn Wilkins <john.wilkins@inktank.com>
Mon, 2 Jul 2012 15:55:36 +0000 (08:55 -0700)
committerJohn Wilkins <john.wilkins@inktank.com>
Mon, 2 Jul 2012 15:55:36 +0000 (08:55 -0700)
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc/rbd/rbd-ko.rst

index 71da303e05b5c58b67bfe438b2bfcb7687d0039f..02e688584586be40486a5ff7a5235dc3deb6236e 100644 (file)
@@ -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