From 396e7a00a9e0671f95f9a013864dcbe5bd454e36 Mon Sep 17 00:00:00 2001 From: Changcheng Liu Date: Thu, 12 Dec 2019 09:05:33 +0800 Subject: [PATCH] doc/rbd: correct targe dev name and existence check Signed-off-by: Changcheng Liu --- doc/rbd/libvirt.rst | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/doc/rbd/libvirt.rst b/doc/rbd/libvirt.rst index 694179df5137..929f156bfd77 100644 --- a/doc/rbd/libvirt.rst +++ b/doc/rbd/libvirt.rst @@ -207,7 +207,7 @@ commands, refer to `Virsh Command Reference`_. - + 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 ```` appears - under ``/dev`` or under ``proc/partitions``. :: +#. Check to see if the device from ```` 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. -- 2.47.3