[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1103903] Re: drive_mirror on a resized image creates f
From: |
Vish Ishaya |
Subject: |
[Qemu-devel] [Bug 1103903] Re: drive_mirror on a resized image creates file with wrong size |
Date: |
Thu, 24 Jan 2013 11:59:53 -0000 |
Workaround is to precreate the new file of the proper size and pass -n
qemu-img create -f qcow2 base 32M
qemu-img create -f qcow2 -o backing_file=base disk
qemu-img resize /home/vishvananda/disk 64M
qemu-img create -f qcow2 -o backing_file=base test 64M
qemu-system-x86_64 -drive file=disk,id=vda -vnc :1 -monitor stdio
QEMU 1.3.0 monitor - type 'help' for more information
(qemu) drive_mirror vda test -n
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1103903
Title:
drive_mirror on a resized image creates file with wrong size
Status in QEMU:
New
Bug description:
Repro steps:
qemu-img create -f qcow2 base 32M
qemu-img create -f qcow2 -o backing_file=base disk
qemu-img resize /home/vishvananda/disk 64M
qemu-system-x86_64 -drive file=disk,id=vda -vnc :1 -monitor stdio
QEMU 1.3.0 monitor - type 'help' for more information
(qemu) drive_mirror vda test
Formatting 'test', fmt=qcow2 size=33554432 backing_file='base'
backing_fmt='qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
the file is 32M instead of 64M:
qemu-img info test
image: test
file format: qcow2
virtual size: 32M (33554432 bytes)
disk size: 196K
cluster_size: 65536
backing file: base
backing file format: qcow2
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1103903/+subscriptions
[Prev in Thread] |
Current Thread |
[Next in Thread] |