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

于长江 yuchj at neusoft.com
Wed Nov 28 09:51:00 UTC 2012


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>
  </disks>
</domainsnapshot>

2. when i execute the command , a mistake occurred:
# virsh snapshot-create qcow2 deployment.1
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' 

4. my libvirtd version is 0.9.4 , i update to 1.0.0 , also had this problem
# libvirtd --version
libvirtd (libvirt) 1.0.0

5. this is my guest below:
# ls -l
-rw-r--r--  1 oneadmin oneadmin       1540 2012-11-27 15:27 deployment.0
-rw-r--r--  1 root     root            204 2012-11-27 21:28 deployment.1
-rw-r--r--  1 root     root     5772345344 2012-11-28 17:42 disk.0
-rw-r--r--  1 root     root         459264 2012-11-27 21:02 disk.1
-rw-r--r--  1 root     root         372736 2012-11-27 15:25 disk.2

# virsh list
 Id    Ãû·Q                          î‘B
----------------------------------------------------
 1     qcow2                          running

# qemu-img info disk.0
image: disk.0
file format: qcow2
virtual size: 20G (21474836480 bytes)
disk size: 5.4G
cluster_size: 65536
Snapshot list:
ID        TAG                 VM SIZE                DATE       VM CLOCK
1         1354019482             142M 2012-11-27 20:31:22   00:00:08.971

is there anyone has the same problem with me ? 




ÓÚ³¤½­ |  ¶«Èí
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20121128/ba7c85cf/attachment.htm>
-------------- next part --------------
---------------------------------------------------------------------------------------------------
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/20121128/ba7c85cf/attachment-0001.htm>


More information about the libvirt-users mailing list