Difference between revisions of "Virsh blockjob"

From wikieduonline
Jump to navigation Jump to search
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>
 
<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>
 
* <code>virsh blockjob VM_NAME hda --info</code>
 
  
 
  virsh blockjob VM_NAME hda --info
 
  virsh blockjob VM_NAME hda --info

Revision as of 04:43, 30 September 2020

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
No current block job for hda
virsh blockjob VM_NAME /source/paht/to/file
No current block job for /source/paht/to/file
virsh blockjob VM_NAME hdc
Active Block Commit: [100 %]


Check your journalctl

Activities

  1. Create a KVM Live backup using virsh snapshot-create-as and virsh blockcommit


Related commands

See also

  • https://www.mankier.com/1/virsh#blockjob
  • Advertising: