]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc/rbd: correct targe dev name and existence check
authorChangcheng Liu <changcheng.liu@aliyun.com>
Thu, 12 Dec 2019 01:05:33 +0000 (09:05 +0800)
committerChangcheng Liu <changcheng.liu@aliyun.com>
Fri, 13 Dec 2019 01:13:13 +0000 (09:13 +0800)
Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
doc/rbd/libvirt.rst

index 694179df5137ffe216b75234d92603035a801bb0..929f156bfd77e868c8f63627d7e58d93dc72c4f4 100644 (file)
@@ -207,7 +207,7 @@ commands, refer to `Virsh Command Reference`_.
                <source protocol='rbd' name='libvirt-pool/new-libvirt-image'>
                        <host name='{monitor-host}' port='6789'/>
                </source>
-               <target dev='vda' bus='virtio'/>
+               <target dev='vdb' bus='virtio'/>
        </disk>
 
    Replace ``{monitor-host}`` with the name of your host, and replace the 
@@ -292,11 +292,9 @@ following procedures.
 
        sudo virsh qemu-monitor-command --hmp {vm-domain-name} 'info block'
 
-#. Check to see if the device from ``<target dev='hdb' bus='ide'/>`` appears
-   under ``/dev`` or under ``proc/partitions``. :: 
+#. Check to see if the device from ``<target dev='vdb' bus='virtio'/>`` exists::
    
-       ls dev
-       cat proc/partitions
+       virsh domblklist {vm-domain-name} --details
 
 If everything looks okay, you may begin using the Ceph block device 
 within your VM.