Difference between revisions of "Virsh blockjob"
Jump to navigation
Jump to search
↑ https://www.mankier.com/1/virsh#blockjob
Tags: Mobile web edit, Mobile edit |
|||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <code>[[virsh]] blockjob<ref>https://www.mankier.com/1/virsh#blockjob</ref> VM_NAME path { [--abort] [--async] [--pivot] | [--info] [--raw] [--bytes] | [bandwidth] }</code> | + | {{lc}}<code>[[virsh]] blockjob<ref>https://www.mankier.com/1/virsh#blockjob</ref> VM_NAME path { [--abort] [--async] [--pivot] | [--info] [--raw] [--bytes] | [bandwidth] }</code> |
+ | * <code>virsh blockjob VM_NAME hda</code> (Default to info if not option is provided) | ||
+ | * <code>virsh blockjob VM_NAME hda --info</code> | ||
* <code>virsh blockjob VM_NAME hda --abort</code> | * <code>virsh blockjob VM_NAME hda --abort</code> | ||
− | + | ||
virsh blockjob VM_NAME hda --info | virsh blockjob VM_NAME hda --info | ||
Line 9: | Line 11: | ||
Check your <code>[[journalctl]]</code> | Check your <code>[[journalctl]]</code> | ||
+ | virsh blockjob VM_NAME hda --info | ||
+ | No current block job for hda | ||
− | virsh blockjob VM_NAME | + | virsh blockjob VM_NAME /source/paht/to/file --info |
− | No current block job for | + | No current block job for /source/paht/to/file |
− | virsh blockjob VM_NAME hdc | + | virsh blockjob VM_NAME hdc --info |
Active Block Commit: [100 %] | Active Block Commit: [100 %] | ||
Line 21: | Line 25: | ||
== Activities == | == Activities == | ||
# Create a [[KVM Live backup]] using <code>[[virsh snapshot-create-as]]</code> and <code>[[virsh blockcommit]]</code> | # Create a [[KVM Live backup]] using <code>[[virsh snapshot-create-as]]</code> and <code>[[virsh blockcommit]]</code> | ||
+ | |||
+ | |||
+ | == Related commands == | ||
+ | * <code>[[virsh domblklist]] VM_NAME</code> | ||
== See also == | == See also == | ||
+ | * {{libvirtd}} | ||
* {{virsh block}} | * {{virsh block}} | ||
− | * | + | * {{virsh snapshot}} |
[[Category:Linux]] | [[Category:Linux]] | ||
[[Category:KVM]] | [[Category:KVM]] |
Latest revision as of 04:39, 18 September 2023
virsh blockjob[1] VM_NAME path { [--abort] [--async] [--pivot] | [--info] [--raw] [--bytes] | [bandwidth] }
virsh blockjob VM_NAME hda
(Default to info if not option is provided)virsh blockjob VM_NAME hda --info
virsh blockjob VM_NAME hda --abort
virsh blockjob VM_NAME hda --info
error: Timed out during operation: cannot acquire state change lock (held by remoteDispatchDomainBlockJobAbort)
Check your journalctl
virsh blockjob VM_NAME hda --info No current block job for hda
virsh blockjob VM_NAME /source/paht/to/file --info No current block job for /source/paht/to/file
virsh blockjob VM_NAME hdc --info Active Block Commit: [100 %]
- Check your
journalctl
Activities[edit]
- Create a KVM Live backup using
virsh snapshot-create-as
andvirsh blockcommit
Related commands[edit]
virsh domblklist VM_NAME
See also[edit]
- libvirtd:
systemctl status libvirtd
,systemctl status libvirt-guests
, Libvirt release notes, logs,libvirtd.conf
,/etc/libvirt/
,/var/log/libvirt/
virsh blockcopy
,virsh blockjob
,virsh blockcommit
,virsh domblklist
,virsh blockresize
,virsh blockpull
- Virsh Snapshots:
virsh snapshot-create-as
,virsh snapshot-info
,virsh snapshot-list
,virsh blockjob
,virsh snapshot-revert (Destructive action)
,virsh snapshot-delete
Advertising: