15
display vmdisklist
Use display vmdisklist to display disk and CD-ROM information for a VM.
Syntax
display vmdisklist [ vm vm-name ]
Views
Any view
Predefined user roles
network-admin
Parameters
vm-name: Specifies a VM by its name. The vm-name argument is a case-sensitive string of 1 to 30
characters. If you do not specify a VM, this command displays disk and CD-ROM information for all
VMs.
Examples
# Display disk and CD-ROM information for all VMs.
<Sysname> display vmdisklist
VM: centos7
Device Target BootOrder Source
-----------------------------------------------------------
disk hda 1 /mnt/hda0:/centos.qcow2
VM: winserver2012
Device Target BootOrder Source
-----------------------------------------------------------
disk vda 1 /mnt/hda0:/winserver.qcow2
cdrom hdc 8 /mnt/hda0:/winserver2012.iso
# Display disk and CD-ROM information for VM winserver2012.
<Sysname> display vmdisklist vm winserver2012
Device Target BootOrder Source
-----------------------------------------------------------
disk vda 1 /mnt/hda0:/winserver.qcow2
cdrom hdc 8 /mnt/hda0:/winserver2012.iso
Table 6 Command output
Device Disk or CD-ROM.
Target Disk or CD-ROM drive name.
BootOrder Boot order number. The lower the value, the higher the boot priority.
Source Disk or CD-ROM file path.
display vmdisk-usage vm
Use display vmdisk-usage vm to display information about the raw storage that a VM occupies
on the router.