Displaying 20 results from an estimated 10000 matches similar to: "Thoughts on virt-builder --output-alloc sparse|preallocated"
2016 May 17
0
Re: Can I specify qcow2 preallocation method with virt-builder?
On Tue, May 17, 2016 at 6:01 PM, Richard W.M. Jones <rjones@redhat.com>
wrote:
> 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
2015 Aug 12
1
[PATCH 1/2] disk-create: Allow preallocation off/metadata/full.
For raw, this allows "off" as a synonym for "sparse" (to make it
consistent with qcow2).
For qcow2, this allows "sparse" as a synonym for "off".
It also adds qcow2 "full" preallocation, which is actually mapped to
the qemu option "falloc" (see arguments about this on the qemu-devel
mailing list, which we lost).
This also updates the
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
2016 May 17
0
Re: Can I specify qcow2 preallocation method with virt-builder?
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
> specify
> > > the qcow2 preallocation, as possible with qemu-img create -o
2016 May 17
2
Re: Can I specify qcow2 preallocation method with virt-builder?
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 specify
> > the qcow2 preallocation, as possible with qemu-img create -o
> > preallocation=metada , for example?
>
> No .. but .. it does default to preallocation=metadata
2020 Jun 04
1
virt-v2v: test-v2v-oa-option.sh: output is not preallocated
Hi All,
Thanks to your previous assistance, I'm able to compile virt-v2v
1.42.0 on Debian testing. However, when I run `make check`
tests/test-v2v-oa-option.sh fails with the following log:
-8<------------------------------------------------------------------
test-v2v-oa-option.sh: info: you can skip this test by setting SKIP_TEST_V2V_OA_OPTION_SH=1
[ 0.0] Opening the source -i libvirt
2017 Mar 10
1
[PATCH] v2v: -o null: Force output format to be raw sparse.
When converting and throwing away the output (-o null), the input
format should not really matter. However it does currently matter for
a couple of reasons:
(1) If the input is not raw or qcow2, then you'll get the error below
because virt-v2v wants to write the same output format as input format
but only allows raw or qcow2 as output formats:
virt-v2v: error: output format should be
2020 Sep 01
0
Re: [PATCH v2v] v2v: Allow output to block devices (RHBZ#1868690).
On Tue, Sep 1, 2020 at 4:56 PM Richard W.M. Jones <rjones@redhat.com> wrote:
>
> We previously implicitly supported writing to block devices instead of
> local files, but there were several problems:
>
> * Block devices could be deleted, especially if virt-v2v failed during
> a conversion.
>
> * Block devices could be overwritten by a file with the same name,
>
2016 May 17
2
Can I specify qcow2 preallocation method with virt-builder?
When creating qcow2 images using virt-builder, is there a way to specify
the qcow2 preallocation, as possible with qemu-img create -o
preallocation=metada , for example?
TIA,
Y.
2020 Sep 01
2
[PATCH v2v] v2v: Allow output to block devices (RHBZ#1868690).
We previously implicitly supported writing to block devices instead of
local files, but there were several problems:
* Block devices could be deleted, especially if virt-v2v failed during
a conversion.
* Block devices could be overwritten by a file with the same name,
although I believe this is just an observed consequence of the
previous point, or at least I was not able to reproduce this
2015 Oct 20
1
[PATCH v3 07/13] v2v: factor out copying of output data
Factor out copying the overlays to final disk images into a separate
function.
Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
---
v2v/v2v.ml | 227 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 114 insertions(+), 113 deletions(-)
diff --git a/v2v/v2v.ml b/v2v/v2v.ml
index afffde2..703038c 100644
--- a/v2v/v2v.ml
+++ b/v2v/v2v.ml
@@ -110,121 +110,9 @@ let
2016 Jul 18
0
[PATCH 2/2] v2v: use Getopt.Symbol for few options
Use Getopt.Symbol for options with a fixed list of choices, so there is
no need to check them on our own.
---
v2v/cmdline.ml | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/v2v/cmdline.ml b/v2v/cmdline.ml
index 2d0a10a..ddf5858 100644
--- a/v2v/cmdline.ml
+++ b/v2v/cmdline.ml
@@ -136,8 +136,7 @@ let parse_cmdline () =
match mode with
| "sparse"
2016 Jul 19
0
[PATCH v2 2/2] v2v: use Getopt.Symbol for few options
Use Getopt.Symbol for options with a fixed list of choices, so there is
no need to check them on our own.
---
v2v/cmdline.ml | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/v2v/cmdline.ml b/v2v/cmdline.ml
index 2d0a10a..96e0509 100644
--- a/v2v/cmdline.ml
+++ b/v2v/cmdline.ml
@@ -83,8 +83,7 @@ let parse_cmdline () =
| "libvirt" -> input_mode
2016 Mar 08
1
unable to create preallocated image with gluster protocol
Hi All,
When I tried to create preallocated image with gluster , I am unable to
create one
The image gets created but not preallocated.
[root@ ]# qemu-img create -f qcow2 -o preallocation=full
gluster://host1.lab.eng.blr.redhat.com/rep3vol/vm3.img 3G
Formatting
'gluster://dhcp37-61.lab.eng.blr.redhat.com/rep3vol/newvm3.img',
fmt=qcow2 size=3221225472 encryption=off cluster_size=65536
2020 Sep 01
0
Re: [PATCH v2v] v2v: Allow output to block devices (RHBZ#1868690).
On Tue, Sep 01, 2020 at 07:37:42PM +0100, Richard W.M. Jones wrote:
> On Tue, Sep 01, 2020 at 08:55:38PM +0300, Nir Soffer wrote:
> ...
> > > Note this commit intentionally does not prevent you from writing qcow2
> > > to a block device. RHV uses this so it is a thing that people do.
> ...
> > > +Note that you must create block devices of the correct size, and
2015 Jun 03
0
Re: preallocation=full Vs preallocation=metadata
On Tue, Jun 02, 2015 at 09:14:03AM +0530, Jatin Davey wrote:
> Hi All
>
> I was reading through this:
>
> http://kashyapc.com/2011/12/02/little-more-disk-io-perf-improvement-with-fallocateing-a-qcow2-disk/
In my testing, the above method gives near-raw performance as it
preallocated all the space ahead of time.
The above test can now be done in a single command -- see option (3)
2008 Dec 05
2
Centos 5.2 on Vmware Server: Disk space not preallocated -> no disk found by installer
Hi folks
I am trying to install CentOS 5.2 in Vmware Server environment. In my
VM disk space is not preallocated for the virtual disk (dynamically).
The installer doesn't find the disk. When preallocating 6 GB there is
no problem.
See screenshot[0]
Any ideas?
kind regards
Sven
[0] http://bayimg.com/image/lamidaabe.jpg
2020 Sep 01
2
Re: [PATCH v2v] v2v: Allow output to block devices (RHBZ#1868690).
On Tue, Sep 01, 2020 at 08:55:38PM +0300, Nir Soffer wrote:
...
> > Note this commit intentionally does not prevent you from writing qcow2
> > to a block device. RHV uses this so it is a thing that people do.
...
> > +Note that you must create block devices of the correct size, and you
> > +need to use I<-of raw> since other output formats would not normally
>
2018 Mar 26
0
Re: [PATCH v7 6/6] v2v: Add -o rhv-upload output mode (RHBZ#1557273).
On Sun, Mar 25, 2018 at 08:05:14PM +0000, Nir Soffer wrote:
> > > > + sparse = params['output_sparse'],
> > > >
> > > The user cannot configure that. This must be based on the image
> > > format. The current coded may create images in unsupported
> > > combinations, e.g. raw/sparse on block storage, or fail validation
> >
2016 May 17
0
Re: Can I specify qcow2 preallocation method with virt-builder?
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 specify
> the qcow2 preallocation, as possible with qemu-img create -o
> preallocation=metada , for example?
No .. but .. it does default to preallocation=metadata provided that
the output format is qcow2: