HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

virsh domblklist — List information about block devices associated with a virtual machine. See also: `virsh`. More info

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commanddevicescliinformationaboutblocklistvirsh domblklist

Problem

How to use the virsh domblklist command: List information about block devices associated with a virtual machine. See also: virsh. More information: <https://manned.org/virsh>.

Solution

virsh domblklist — List information about block devices associated with a virtual machine. See also: virsh. More information: <https://manned.org/virsh>.

List the target name and source path of the block devices:
virsh domblklist --domain {{vm_name}}


List the disk type and device value as well as the target name and source path:
virsh domblklist --domain {{vm_name}} --details

Code Snippets

List the target name and source path of the block devices

virsh domblklist --domain {{vm_name}}

List the disk type and device value as well as the target name and source path

virsh domblklist --domain {{vm_name}} --details

Context

tldr-pages: common/virsh domblklist

Revisions (0)

No revisions yet.