Difference between revisions of "Virsh start"
Jump to navigation
Jump to search
(Created page with "<pre> virsh start VM_MACHINE_NAME Domain VM_MACHINE_NAME started </pre> == See also == * {{KVM}} * {{virsh}} Category:Linux Category:KVM Category:virsh") |
|||
(17 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
</pre> | </pre> | ||
+ | virsh start VM_MACHINE_NAME --console | ||
+ | |||
+ | virsh --connect qemu:///system start VM_MACHINE_NAME | ||
+ | |||
+ | |||
+ | error: internal error: process exited while connecting to monitor: 2020-09-24T09:20:37.260753Z qemu-system-x86_64: -blockdev {"node-name":"libvirt-1-format","read-only":false,"driver":"[[qcow2]]","file":"libvirt-1-storage","backing":null}: Failed to get "write" lock | ||
+ | Solution: use <code>[[lsof]]</code> or <code>[[fuser]]</code> and verify you do not have storage device duplicated in xml vm definition file. | ||
+ | |||
+ | == Related terms == | ||
+ | * <code>[[virsh --connect]]</code> | ||
+ | * <code>[[virt-install]]</code> | ||
+ | * <code>[[virsh console]]</code> | ||
+ | * <code>[[virsh net-start]]</code> and <code>[[virsh pool-start]]</code> | ||
+ | * <code>[[virsh autostart]]</code> | ||
+ | * <code>[[virsh define]]</code> | ||
+ | * Logs: <code>/var/log/libvirt/[[qemu]]</code> | ||
+ | * [[Docker]]: [[Start configuration behavior and restart policy]] | ||
== See also == | == See also == | ||
* {{KVM}} | * {{KVM}} | ||
* {{virsh}} | * {{virsh}} | ||
+ | * {{virsh operations one line}} | ||
Latest revision as of 09:37, 24 September 2020
virsh start VM_MACHINE_NAME Domain VM_MACHINE_NAME started
virsh start VM_MACHINE_NAME --console
virsh --connect qemu:///system start VM_MACHINE_NAME
error: internal error: process exited while connecting to monitor: 2020-09-24T09:20:37.260753Z qemu-system-x86_64: -blockdev {"node-name":"libvirt-1-format","read-only":false,"driver":"qcow2","file":"libvirt-1-storage","backing":null}: Failed to get "write" lock Solution: uselsof
orfuser
and verify you do not have storage device duplicated in xml vm definition file.
Related terms[edit]
virsh --connect
virt-install
virsh console
virsh net-start
andvirsh pool-start
virsh autostart
virsh define
- Logs:
/var/log/libvirt/qemu
- Docker: Start configuration behavior and restart policy
See also[edit]
- KVM, Installation, QEMU,
virsh
,virtinst
,libguestfs-tools
, libvirt, qemu, Red Hat Virtualization (RHV), MacVTap, Virtio, oVirt, KVM services, KVM networking, KVM graphics, CPU, KVM on ARM virsh
: Storage information, Connecting, Operations, Memory, Snapshots, Networking, CPU, release notes,virsh nodedev-list
- Changing VM running status operations:
start
,shutdown
,destroy
,reboot
,reset
,resume
Advertising: