Editing Virsh destroy
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | Ungraceful Shutdown but do not destroy data or VM but you can corrupt guest file systems | |
− | |||
− | < | + | <pre> |
+ | virsh destroy VM_MACHINE_NAME | ||
+ | Domain infrastructure destroyed | ||
+ | </pre> | ||
− | |||
− | |||
− | |||
+ | <pre> | ||
+ | virsh destroy VM_MACHINE_NAME --graceful | ||
+ | </pre> | ||
− | |||
* Error while destroying VM_MACHINE: | * Error while destroying VM_MACHINE: | ||
− | + | <pre> | |
− | + | virsh destroy VM_MACHINE_NAME | |
− | + | error: Failed to destroy domain VM_MACHINE_NAME | |
− | + | error: Timed out during operation: cannot acquire state change lock (held by remoteDispatchDomainBlockJobAbort) | |
− | + | </pre> | |
virsh destroy VM_MACHINE_NAME-3 | virsh destroy VM_MACHINE_NAME-3 | ||
Line 24: | Line 25: | ||
− | + | ||
* Review your log files: <code>/var/log/libvirt/qemu/</code>, <code>[[virsh domblklist]]</code> output and try to restart [[libvirtd]]: <code>systemctl restart [[libvirtd]]</code> | * Review your log files: <code>/var/log/libvirt/qemu/</code>, <code>[[virsh domblklist]]</code> output and try to restart [[libvirtd]]: <code>systemctl restart [[libvirtd]]</code> | ||
Line 34: | Line 35: | ||
VM_MACHINE.log:2018-11-20 08:00:38.835+0000: shutting down, reason=destroyed | VM_MACHINE.log:2018-11-20 08:00:38.835+0000: shutting down, reason=destroyed | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
* {{virsh}} | * {{virsh}} | ||
− | |||
* {{virsh operations one line}} | * {{virsh operations one line}} | ||
[[Category:Linux]] | [[Category:Linux]] | ||
[[Category:KVM]] | [[Category:KVM]] |
Advertising: