Displaying 20 results from an estimated 20000 matches similar to: "Re: Question about mounting QCOW2 files...."
2018 Oct 16
1
Re: Question about mounting QCOW2 files....
On Mon, Oct 15, 2018 at 10:28:25AM -0400, Raghuram Devarakonda wrote:
> On Mon, Oct 15, 2018 at 3:54 AM Richard W.M. Jones <rjones@redhat.com> wrote:
> >
> > [Adding libguestfs mailing list]
> >
> > On Sun, Oct 14, 2018 at 11:53:17AM -0400, Raghuram Devarakonda wrote:
> > > Hi,
> > >
> > > In our project, we deal with quite large sparse
2018 Oct 15
0
Re: Question about mounting QCOW2 files....
On Mon, Oct 15, 2018 at 3:54 AM Richard W.M. Jones <rjones@redhat.com> wrote:
>
> [Adding libguestfs mailing list]
>
> On Sun, Oct 14, 2018 at 11:53:17AM -0400, Raghuram Devarakonda wrote:
> > Hi,
> >
> > In our project, we deal with quite large sparse files whose total size
> > runs into several hundred terabytes or even more, though actual
> >
2017 Jul 27
2
Re: performance between guestfish and qemu-nbd
2017-07-27 20:18 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>:
> On Thu, Jul 27, 2017 at 06:34:13PM +0800, lampahome wrote:
> > I can mount qcow2 img to nbd devices through guestfish or qemu-nbd
> >
> > I'm curious about which performance is better?
>
> They do quite different things, they're not comparable.
>
> Can you specifically give the
2017 Jul 28
1
Re: performance between guestfish and qemu-nbd
2017-07-28 0:31 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>:
> On Fri, Jul 28, 2017 at 12:23:04AM +0800, lampahome wrote:
> > 2017-07-27 20:18 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>:
> >
> > > On Thu, Jul 27, 2017 at 06:34:13PM +0800, lampahome wrote:
> > > > I can mount qcow2 img to nbd devices through guestfish or qemu-nbd
> >
2018 Feb 12
1
A question about NBD kernel module...
Hi,
I would like to mount a device using NBD protocol on CentOS 7 but it looks
like the module is not available by default in the kernel. Is there a way I
can install it (like from a rpm somewhere)? I found instructions to build
such a module but want to make sure that it is not already available in
some repo before I go ahead with building.
Any help is greatly appreciated.
Thanks,
Raghu
2011 Oct 14
21
xl create PV guest with qcow/qcow2 disk images fail
Hi, List,
I''m trying xl create a pv guest with qcow/qcow2 image, it always fails at libxl_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
disk configuration is:
disk=[
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
2019 Jun 27
2
mkfs fails on qemu-nbd device
Hi All,
I am unable to figure out the issue here, when I try to create a filesystem
(ext4) on a virtual disk using qemu-nbd. This happens intermittently.
Following is the sequence of commands:-
$> qemu-img create -f qcow2 test.qcow2 30G
$> qemu-nbd --connect=/dev/nbd0 test.qcow2
$> *mkfs.ext4 /dev/nbd0*
* mkfs.ext4: Device size reported to be zero. Invalid partition specified,
or*
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
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
2015 Oct 14
3
Questions about qcow2 file size management
Hi all.
I have a few questions regarding the qcow2 format.
1/ Allocated size vs. file size
When creating a VM, I indicated a size of 10 G.
$ls -lsh
7,7G -rw------- 1 libvirt-qemu libvirt-qemu 11G oct. 14 10:04
prod.qcow2
The allocated size is lesser than max size. Alright.
I think I more or less grab the difference between allocated size and
file size, but I'm not sure I get the point
2020 Jul 31
5
nbdkit build failure in Koji
Hi Eric,
I wonder if you have any thoughts about this build failure in
tests/test-nozero.sh?
https://koji.fedoraproject.org/koji/taskinfo?taskID=48259627
log: https://kojipkgs.fedoraproject.org//work/tasks/9762/48259762/build.log
The error is “nozero6.img was trimmed by mistake”. I added “set -x”
to the script earlier today so we can see exactly what's wrong, and it
is that:
++ stat
2014 Dec 08
2
snapshots and qcow2
Hi,
I ran into a strange behavior with libvirt snapshots. I have some vms
running with thin-provisioned qcow2 disk images (libvirt 1.1.3 with fedora
20).
* When I create a snapshot on the VM, the qcow file suddenly grows big,
somewhat bigger than the maximum size of the disk.
* When I delete the snapshot, the allocated disk space is not freed up, the
qcow image remains the same size. However, if
2017 Jul 27
2
performance between guestfish and qemu-nbd
I can mount qcow2 img to nbd devices through guestfish or qemu-nbd
I'm curious about which performance is better?
2014 Sep 16
5
[PATCH 0/3] tests: Introduce test harness for running tests.
These are my thoughts on adding a test harness to run tests instead of
using automake. The aim of this exercise is to allow us to run the
full test suite on an installed copy of libguestfs. Another aim is to
allow us to work around all the limitations and problems of automake.
The first patch makes an observation that since the ./run script sets
up $PATH to contain all the directories
2018 Jun 29
2
guestmount only
hello,
I would only like to have guestmount in my toolkit to read-only vhd/vhdx
images, so I try to compile libguestfs with a minimum of dependencies.
I downloaded the 1.38-stable sources, installed the necessary dependencies
and compiled them with the command :
./configure --disable-ocaml --disable-perl --disable-ruby --disable-haskell
--disable-php --disable-erlang --disable-lua
2019 Nov 20
2
[PATCH] rhv-upload: Support qcow2 disks
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 specify qcow2 disk format.
I think we need a way to expose the capabilities of the output to the
user. For example, can we use qcow2 format.
Issues:
- I hacked qemu-img convert command line to always use -O raw instead of
2016 May 17
2
Re: Can I specify qcow2 preallocation method with virt-builder?
On Tue, May 17, 2016 at 05:53:31PM +0300, Yaniv Kaul wrote:
> On Tue, May 17, 2016 at 5:48 PM, Richard W.M. Jones <rjones@redhat.com>
> wrote:
>
> > On Tue, May 17, 2016 at 03:41:53PM +0100, Richard W.M. Jones wrote:
> > > On Tue, May 17, 2016 at 05:15:57PM +0300, Yaniv Kaul wrote:
> > > > When creating qcow2 images using virt-builder, is there a way to
2014 Jan 28
11
[PATCH 00/10] New API: disk-create for creating blank disks.
A lot of code runs 'qemu-img create' or 'truncate' to create blank
disk images.
In the past I resisted adding an API to do this, since it essentially
duplicates what you can already do using other tools (ie. qemu-img).
However this does simplify calling code quite a lot since qemu-img is
somewhat error-prone to use (eg: don't try to create a disk called
"foo:bar")
2016 May 19
6
[PATCH 0/3] misc tests-only changes
Hi,
small series with small improvements to the tests.
Pino Toscano (3):
tests: specify the image format when possible
tests: remove remaining relative paths to binaries
fish: generate test-prep.sh with generator
.gitignore | 1 +
align/test-virt-alignment-scan.sh | 2 +-
cat/Makefile.am | 2 +-
cat/test-virt-cat.sh