[libvirt-users] error: argument unsupported: unable to handle disk requests in snapshot

于长江 yuchj at neusoft.com
Fri Nov 30 15:30:50 UTC 2012


Thank you for your answer, i'll update my qemu to 1.2, and try again.




于长江 |  东软

From: Eric Blake
Date: 2012-11-30 23:11
To: 于长江
CC: libvirt-users
Subject: Re: [libvirt-users] error: argument unsupported: unable to handle disk requests in snapshot
> Hello, a problem occurred during making a snapshot for a guest, ask
> for help...
> 
> 1. the xml for snapshotdomain like this:
> # cat deployment.1
> <domainsnapshot>
>    <name>a</name>
>    <disks>
>     <disk name='/home/qcow2/disk.0'>
>       <driver type='qcow2'/>
>       <source file='/home/qcow2/disk.3'/>
>     </disk>

This says that you want to create an external snapshot...

>   </disks>
> </domainsnapshot>
> 
> 2. when i execute the command , a mistake occurred:
> # virsh snapshot-create qcow2 deployment.1

But this did not request the --disk-only flag, and was not executed
with (unreleased) libvirt 1.0.1.  Older libvirt doesn't support
external snapshots without the --disk-only flag (but the next
release will; assuming that you have new enough qemu).

> error: argument unsupported: unable to handle disk requests in
> snapshot
> 
> 3. i add the parameter '--disk-only', another mistake occurred:
> # virsh snapshot-create qcow2 deployment.1 --disk-only
> error: Failed to take snapshot: unknown command: 'snapshot_blkdev'

This says your qemu is too old.  External snapshots were not possible
until upstream qemu 1.2; it is also available if you use RHEV 3.0
from Red Hat (but NOT if you use RHEL 6.3).

> is there anyone has the same problem with me ?

Yes, since you are trying code that hasn't been implemented
for the versions of software you have installed.

> Confidentiality Notice: The information contained in this e-mail and

This disclaimer is unenforceable on a publicly-archived list.
For netiquette reasons, it is considered better to send mail from
a personal account so as to avoid your employer's useless
legalese when posting to public lists.
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20121130/56f5a4d3/attachment.htm>


More information about the libvirt-users mailing list