Is virsh blockcommit supported? Thanks a lot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I had test the command virsh blockcommit, but it failed, with the libvirt version 1.1.0, and qemu version 1.6.0.

Is this feature being developing? Thanks

 

root@cvk-31:/vms/images# virsh -v

1.1.0

root@cvk-31:/vms/images# qemu-img -V

qemu-img version 1.6.0, Copyright (c) 2004-2008 Fabrice Bellard

usage: qemu-img command [command options]

 

 

root@cvk-31:/vms/images# virsh blockcommit Vmtest /vms/images/Vmtest1 --base /vms/image

s/Vmtest1_base --top /vms/images/Vmtest1_base_1 --wait --verbose ;echo $?

error: invalid argument: top '/vms/images/Vmtest1_base_1' in chain for '/vms/images/Vmtest1' has no backing file

 

1

root@cvk-31:/vms/images# qemu-img info /vms/images/Vmtest1_base_1

image: /vms/images/Vmtest1_base_1

file format: qcow2

virtual size: 9.8G (10485760000 bytes)

disk size: 6.0M

cluster_size: 2097152

backing file: /vms/images/Vmtest1_base

 

root@cvk-31:/vms/images# qemu-img info --backing-chain /vms/images/Vmtest1

image: /vms/images/Vmtest1

file format: qcow2

virtual size: 9.8G (10485760000 bytes)

disk size: 140M

cluster_size: 2097152

backing file: /vms/images/Vmtest1_base_1

 

image: /vms/images/Vmtest1_base_1

file format: qcow2

virtual size: 9.8G (10485760000 bytes)

disk size: 6.0M

cluster_size: 2097152

backing file: /vms/images/Vmtest1_base

 

image: /vms/images/Vmtest1_base

file format: qcow2

virtual size: 9.8G (10485760000 bytes)

disk size: 3.4G

cluster_size: 2097152

 

 

root@cvk-31:/vms/images# virsh blockcommit Vmtest /vms/images/Vmtest1 --base /vms/image

s/Vmtest1_base --wait --verbose ;echo $?

error: invalid argument: could not find base '/vms/images/Vmtest1_base' below '/vms/images/Vmtest1' in chain for '/vms/images/Vmtest1'

 

1

root@cvk-31:/vms/images# ls -al /vms/images/Vmtest1_base

-rw------- 1 root root 3705667584 Aug 23 10:19 /vms/images/Vmtest1_base

root@cvk-31:/vms/images# qemu-img info /vms/images/Vmtest1_base

image: /vms/images/Vmtest1_base

file format: qcow2

virtual size: 9.8G (10485760000 bytes)

disk size: 3.4G

cluster_size: 2097152

 

 

-------------------------------------------------------------------------------------------------------------------------------------
本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出
的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、
或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本
邮件!
This e-mail and its attachments contain confidential information from H3C, which is
intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
by phone or email immediately and delete it!
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux