Displaying 20 results from an estimated 20000 matches similar to: "Temporary use of disk space when deploying KVM with qcow2 ?"
2011 Dec 13
0
Temporary use of disk space when deploying KVM with qcow2?
Hello,
I'm using libvirt to deploy a series of 7 KVM (in qcow2 format)
sequentially. The base image of the qcow2 is an ubuntu server.
The environment where i am doing this is a Live USB Ubuntu with a
persistence file (so that changes made remain).
So, my problem:
* If the persistence file (i.e. free disk space in the live ubuntu) is up
to around 1.5GB, the qemu process of launching the
2011 Apr 21
1
KVM virt-install on disk image - "no space"
I guess I need the list again.
I try to install my first KVM guest. Here is what I do, and finally,
what I stumble on.
First I created a qcow2 img:
# qemu-img create -f qcow2 /var/lib/libvirt/images/test1.img 15G
And I created a network bridge (not essential here)
To get a text-based install, I followed this how-to:
2014 Aug 12
0
Re: Behavior of disk caching with qcow2 disks
On Mon, Aug 11, 2014 at 02:06:54PM -0500, Andrew Martin wrote:
> Hello,
>
> I am running several virtualization servers with QEMU 1.4.x and
> libvirt 1.0.2 on Ubuntu 12.04 and am working on optimizing the cache=
> and aio= options for the virtual machines. These VM images are mostly
> qcow2, and are served both from a local ext4 filesystem (with
> data=ordered,barrier) and
2019 Nov 26
0
[PATCH v2 3/3] rhv-upload: Support qcow2 disk format
When using oVirt >= 4.3, we can enable the NBD based backend in imageio
by specifying that we transfer raw data when creating a transfer. With
the NBD backend, we can import to disks using qcow2 format.
To make it work, we override output#transfer_format to return always raw
format, but we create the disk on RHV side using qcow2 format.
The pipeline looks like this:
qemu-img convert
2013 Dec 12
0
Re: virsh attach makes qcow2 format disk to raw format
On 12/09/2013 09:03 PM, lyz_pro@163.com wrote:
> Hi all
>
> I have a problem when I use `virsh attach` to attach a qcow2 disk to vm without argument --subdirver=qcow2
> and this makes the qcow2 disk become a raw format disk, and the data in this disk is missing in guest os
> and also I have used guestmout to confirm this, the same result.
The format of a file is important. By
2014 Nov 06
0
Re: backup KVM qcow2 over btrfs or zfs
On 11/06/2014 03:45 PM, Francesco Morosinotto wrote:
> Hi everybody,
>
> I'm trying to implement in the non profit organization where I work a
> backup strategy for our VMs.
>
> At the moment I weekly backup the machine (on sunday nights) by stopping
> the vm, making a snapshot, exporting the xml descriptor file and syncing
> these files to a remote backup server.
2023 Aug 07
3
[PATCH libnbd] copy/copy-file-to-qcow2-compressed.sh: Skip test for all zeroes disk
Occasionally this test will choose a random seed which results in an
all-zeroes disk. The test tries to convert this to a compressed qcow2
file, and fails because no compressed clusters are detected in the
resulting file. This happens because qcow2 stores zero clusters with
a special sparse representation, they are never stored compressed, so
a disk with only zeroes in it will never contain
2023 Aug 08
1
[PATCH libnbd] copy/copy-file-to-qcow2-compressed.sh: Skip test for all zeroes disk
On 8/8/23 00:28, Richard W.M. Jones wrote:
> Occasionally this test will choose a random seed which results in an
> all-zeroes disk. The test tries to convert this to a compressed qcow2
> file, and fails because no compressed clusters are detected in the
> resulting file. This happens because qcow2 stores zero clusters with
> a special sparse representation, they are never stored
2013 Dec 10
2
virsh attach makes qcow2 format disk to raw format
Hi all
I have a problem when I use `virsh attach` to attach a qcow2 disk to vm without argument --subdirver=qcow2
and this makes the qcow2 disk become a raw format disk, and the data in this disk is missing in guest os
and also I have used guestmout to confirm this, the same result.
Is there any way to let me find back the data in this disk ?
the version of libvirt and kvm is :
Compiled
2014 Nov 06
1
Re: backup KVM qcow2 over btrfs or zfs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thank you a lot for your reply;
> You should really consider using libvirt live snapshots. With new
> enough libvirt and qemu, you can even get optimal behavior with no guest
> downtime. This topic comes up frequently on the list; for example, a
> quick search found this in the archives:
>
>
2020 Aug 12
0
[PATCH] appliance: extract UUID from QCOW2 disk image
For the appliance of the QCOW2 format, get the UUID of the disk by
reading the first 256k bytes with 'qemu-img dd' command. Then pass the
read block to the 'file' command. In case of failure, run the 'file'
command again directly.
Suggested-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
---
2014 Aug 11
2
Behavior of disk caching with qcow2 disks
Hello,
I am running several virtualization servers with QEMU 1.4.x and libvirt 1.0.2 on
Ubuntu 12.04 and am working on optimizing the cache= and aio= options for the
virtual machines. These VM images are mostly qcow2, and are served both from a
local ext4 filesystem (with data=ordered,barrier) and from an NFS mountpoint
(with sync). The local filesystem sits on top of an md software RAID of SATA
2020 Aug 13
0
Re: [PATCH v3] appliance: extract UUID from QCOW2 disk image
On Thu, Aug 13, 2020 at 07:48:52AM +0300, Andrey Shinkevich wrote:
> For the appliance of the QCOW2 format, the function get_root_uuid()
> fails to get the UUID of the disk image.
> In this case, let us read the first 256k bytes of the disk image with
> the 'qemu-img dd' command. Then pass the read block to the 'file'
> command.
>
> Suggested-by: Denis V.
2020 Aug 12
0
Re: [PATCH] appliance: extract UUID from QCOW2 disk image
On Wed, Aug 12, 2020 at 03:52:34PM +0300, Vladimir Sementsov-Ogievskiy wrote:
> 12.08.2020 15:39, Andrey Shinkevich wrote:
> >For the appliance of the QCOW2 format, get the UUID of the disk by
> >reading the first 256k bytes with 'qemu-img dd' command. Then pass the
> >read block to the 'file' command. In case of failure, run the 'file'
> >command
2020 Aug 12
0
Re: [PATCH] appliance: extract UUID from QCOW2 disk image
On Wed, Aug 12, 2020 at 04:12:28PM +0300, Vladimir Sementsov-Ogievskiy wrote:
> 12.08.2020 15:52, Vladimir Sementsov-Ogievskiy wrote:
> >12.08.2020 15:39, Andrey Shinkevich wrote:
> >>For the appliance of the QCOW2 format, get the UUID of the disk by
> >>reading the first 256k bytes with 'qemu-img dd' command. Then pass the
> >>read block to the
2019 Nov 26
6
[PATCH v2 0/3] rhv-upload: Support import to qcow2 disk
Add support for qcow2 disk format, enabled by imageio NBD backend in RHV 4.3.
To use this feature manually, you can run virt-v2v with "-of qcow2".
Here is example run:
Source disk:
$ qemu-img info /var/tmp/fedora-30.img
image: /var/tmp/fedora-30.img
file format: raw
virtual size: 6 GiB (6442450944 bytes)
disk size: 1.15 GiB
virt-v2v:
$ ./run virt-v2v \
-v \
-i disk
2011 Oct 17
0
xl fail to create PV guest with qcow/qcow2 disk images
I''m trying to create a pv guest with qcow/qcow2 disk image by xl, it always fails atlibxl_device_disk_local_attach.
#xl create pv_config_file
libxl: error: libxl.c:1119:libxl_device_disk_local_attach: cannot locally attach a qdisk image if the format is not raw
libxl: error: libxl_create.c:467:do_domain_create: failed to run bootloader: -3
Does that mean we cannot create such a pv guest
2020 Aug 12
2
[PATCH v2] appliance: extract UUID from QCOW2 disk image
For the appliance of the QCOW2 format, get the UUID of the disk by
reading the first 256k bytes with 'qemu-img dd' command. Then pass the
read block to the 'file' command. In case of failure, run the 'file'
command again directly.
Suggested-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
---
v2:
01: The
2020 Aug 13
2
[PATCH v3] appliance: extract UUID from QCOW2 disk image
For the appliance of the QCOW2 format, the function get_root_uuid()
fails to get the UUID of the disk image.
In this case, let us read the first 256k bytes of the disk image with
the 'qemu-img dd' command. Then pass the read block to the 'file'
command.
Suggested-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
---
2014 Nov 06
2
backup KVM qcow2 over btrfs or zfs
Hi everybody,
I'm trying to implement in the non profit organization where I work a
backup strategy for our VMs.
At the moment I weekly backup the machine (on sunday nights) by stopping
the vm, making a snapshot, exporting the xml descriptor file and syncing
these files to a remote backup server.
I would really like to make daily snapshot without shutting down the vms.
at the moment the vms