31
Parameters
vm-name: Specifies a VM by its name. The vm-name argument is a case-sensitive string of 1 to 30
characters.
Usage guidelines
Use this command to suspend a VM only when the VM is in running state. To view VM status, use the
display vmlist command.
Examples
# Suspend VM centos7.
<Sysname> system-view
[Sysname] vmm
[Sysname-vmm] suspend vm centos7
Related commands
display vmlist
resume vm
uninstall vm
Use uninstall vm to uninstall a VM.
Syntax
uninstall vm vm-name
Views
VMM 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.
Usage guidelines
The system cannot recover a VM after you uninstall it. As a best practice, use the backup vm
command to back up the VM before you uninstall it.
You must stop a VM by using the
stop vm command before you can uninstall it.
After you uninstall a VM, the disks allocated to the VM still retain the VM image files and running data
files. To release storage space, you must use the
delete command to manually delete the hard
disks. For more information about deleting hard disks, see file system management in Fundamentals
Configuration Guide.
Examples
# Uninstall VM centos7.
<Sysname> system-view
[Sysname] vmm
[Sysname-vmm] uninstall vm centos7
Related commands
backup vm