Displaying 20 results from an estimated 25 matches for "sparsif".
Did you mean:
sparsify
2015 Nov 04
1
[PATCH] sparsify: in-place: Refuse to run on overlay files (RHBZ#1277705).
$ qemu-img create -f qcow2 -b /tmp/centos-6.img overlay.qcow2
$ virt-sparsify --in-place overlay.qcow2
virt-sparsify: error: disk image 'overlay.qcow2' appears to have a backing
file. You should use copying mode sparsification for this file (see the
virt-sparsify(1) manual).
Thanks: Yaniv Kaul
---
sparsify/in_place.ml | 5 +++++
1 file changed, 5 insertions(+)
d...
2016 Sep 19
0
[PATCH 3/3] OCaml tools: add crypto support (RHBZ#1362649)
Make use of the additional command line arguments, and API needed to
decrypt LUKS partitions.
This affects only virt-customize, virt-get-kernel, virt-sparsify, and
virt-sysprep, as they are the main OCaml tools interacting with
user-provided images.
---
customize/customize_main.ml | 5 ++++-
customize/virt-customize.pod | 12 ++++++++++++
get-kernel/get_kernel.ml | 5 ++++-
get-kernel/virt-get-kernel.pod | 12 ++++++++++++
sparsify/cmdline...
2020 Jan 30
2
[PATCH libnbd] python: Add AIO buffer is_zero method.
Fast testing whether the AIO buffer (or regions within it) contain all
zeroes, which allows Python code to quickly do sparsification when
copying.
This includes the iszero.h header from nbdkit which is distributed
under a compatible license.
---
common/include/Makefile.am | 5 +--
common/include/iszero.h | 63 +++++++++++++++++++++++++++++++++++++
generator/generator | 17 ++++++++--
python/Makefile.am...
2014 Mar 12
12
[PATCH v3 00/10] Add discard support.
This set of patches:
- Adds new APIs to support discard in libguestfs.
- Adds discard support to virt-format.
- Adds discard support to virt-sysprep.
- Implements virt-sparsify --in-place.
This is now working, after fixing the rather stupid bug in fstrim.
I've pushed the ones which were ACKed previously + the fstrim fix.
Rich.
2020 Jan 30
2
Re: [PATCH libnbd] python: Add AIO buffer is_zero method.
On Thu, Jan 30, 2020 at 08:16:30AM -0600, Eric Blake wrote:
> On 1/30/20 8:05 AM, Richard W.M. Jones wrote:
> >Fast testing whether the AIO buffer (or regions within it) contain all
> >zeroes, which allows Python code to quickly do sparsification when
> >copying.
> >
> >This includes the iszero.h header from nbdkit which is distributed
> >under a compatible license.
> >---
> > common/include/Makefile.am | 5 +--
> > common/include/iszero.h | 63 +++++++++++++++++++++++++++++++++++++
>...
2020 Jan 21
12
[PATCH 0/1] WIP: Support LUKS-encrypted partitions
The following patch attempts to implement sparsification of
LUKS-encrypted partitions. It uses lsblk to pair the underlying LUKS
block device with its mapped name. Also, --allow-discards was added
by default to luks_open().
There are several potential issues that I can think of:
1) If and entire device is encrypted (not just one of more partitio...
2016 Sep 19
6
[PATCH 0/3] add crypto/LUKS support in some OCaml-based tools
Hi,
this series refactors some guestfish code (not much), and exposes it
via Common_utils, so it is possible to decrypt LUKS partitions when
using virt-customize, virt-get-kernel, virt-sparsify, and virt-sysprep.
This brings them closer in features with C tools.
Most probably a couple more of other OCaml-based tools (virt-v2v to
convert encrypted guests, and virt-builder to use encrypted templates),
but that is left for implementation at a later time.
Thanks,
Pino Toscano (3):
fish...
2015 Sep 15
1
Re: Question: running appliance commands over guest fs (resize2fs -P).
...9/15/2015 04:57 PM, Richard W.M. Jones wrote:
> On Tue, Sep 15, 2015 at 04:31:46PM +0300, Maxim Perevedentsev wrote:
>> Hello everyone!
>>
>> I am working on resizing qcow2 images using virt-resize+liguestfs.
> If you're shrinking, I believe a better way to do this is to sparsify
> the image.
And how would it help? If I shrink, a want a VM to occupy less maximum
space. virt-sparsify (I guess you are talking about it) will reduce
space taken by guest disk image by now, but won't tighten the upper
limit for guest.
--
Your sincerely,
Maxim Perevedentsev
2020 Jan 22
0
[PATCH 0/1] sparsify: support LUKS-encrypted partitions
The following patch implements sparsification of LUKS-encrypted
partitions. It uses lsblk to pair the underlying LUKS block device with
its mapped name. To sparsify a LUKS-encrypted device, it needs to be
opened using --allow-discards. Support for the argument was submitted as
a separate patch [1].
[1] https://www.redhat.com/archives/l...
2020 Jan 22
0
[PATCH 0/1] sparsify: support LUKS-encrypted partitions
The following patch implements sparsification of LUKS-encrypted
partitions. It uses lsblk to pair the underlying LUKS block device with
its mapped name. To sparsify a LUKS-encrypted device, it needs to be
opened using --allow-discards. Support for the argument was submitted as
a separate patch [1].
[1] https://www.redhat.com/archives/l...
2020 Jan 22
0
[PATCH 0/1] sparsify: support LUKS-encrypted partitions
The following patch implements sparsification of LUKS-encrypted
partitions. It uses lsblk to pair the underlying LUKS block device with
its mapped name. To sparsify a LUKS-encrypted device, it needs to be
opened using --allow-discards. Support for the argument was submitted as
a separate patch [1].
[1] https://www.redhat.com/archives/l...
2020 Jan 30
0
Re: [PATCH libnbd] python: Add AIO buffer is_zero method.
On 1/30/20 8:05 AM, Richard W.M. Jones wrote:
> Fast testing whether the AIO buffer (or regions within it) contain all
> zeroes, which allows Python code to quickly do sparsification when
> copying.
>
> This includes the iszero.h header from nbdkit which is distributed
> under a compatible license.
> ---
> common/include/Makefile.am | 5 +--
> common/include/iszero.h | 63 +++++++++++++++++++++++++++++++++++++
> generator/generator...
2020 Jan 21
0
Re: [PATCH 0/1] WIP: Support LUKS-encrypted partitions
On Tue, Jan 21, 2020 at 03:07:11PM +0100, Jan Synacek wrote:
> The following patch attempts to implement sparsification of
> LUKS-encrypted partitions. It uses lsblk to pair the underlying LUKS
> block device with its mapped name. Also, --allow-discards was added
> by default to luks_open().
>
> There are several potential issues that I can think of:
>
> 1) If and entire device is encry...
2014 Mar 11
21
[PATCH v2 00/18] Add discard support.
This still isn't working at the moment. See:
http://marc.info/?t=139457409300003&r=1&w=2
This set of patches:
- Adds new APIs to support discard in libguestfs.
- Adds discard support to virt-format.
- Adds discard support to virt-sysprep.
- Implements virt-sparsify --in-place.
Rich.
2019 Nov 28
4
[PATCH v2 0/3] options: Describe --key SELECTOR in a single file.
v1 was here:
https://www.redhat.com/archives/libguestfs/2019-November/msg00271.html
In v2 I just updated the way paths are handled.
Note this series requires the following patch to common which adds the
common/options/key-option.pod file:
https://www.redhat.com/archives/libguestfs/2019-November/msg00269.html
Rich.
2019 Nov 26
4
[PATCH libguestfs 0/3] options: Describe --key SELECTOR in a single file.
The libguestfs part of this change.
Also a virt-v2v part will be needed.
The first patch adds a new feature to podwrapper so that we can use
__INCLUDE:file__ directives within the POD itself (instead of using
--insert, and one day replacing that).
The second patch shows how this change could be used for the included
parts of the guestfish man page, including the non-English pages under
2016 Jun 23
2
Re: [libvirt-users] virt-sparsify changing the apparent-size of files
...ed, Jun 22, 2016 at 05:56:09PM -0500, libvirt_users@skagitattic.com wrote:
> > Delete what you've done and start from the beginning. Describe
> > exactly how you created the guest. Use 'qemu-img info' to show the
> > format of the input file. Show precisely the virt-sparsify command
> > you are running. And use 'qemu-img info' on the output file too.
>
> Okay, here goes. Start off with an install
>
> root@testingbox:~ # virt-install --name testimage --memory 512 -l
> 'http://ftp.nl.debian.org/debian/dists/jessie/main/insta...
2020 Jan 30
0
Re: [PATCH libnbd] python: Add AIO buffer is_zero method.
...1PM +0000, Richard W.M. Jones wrote:
>On Thu, Jan 30, 2020 at 08:16:30AM -0600, Eric Blake wrote:
>> On 1/30/20 8:05 AM, Richard W.M. Jones wrote:
>> >Fast testing whether the AIO buffer (or regions within it) contain all
>> >zeroes, which allows Python code to quickly do sparsification when
>> >copying.
>> >
>> >This includes the iszero.h header from nbdkit which is distributed
>> >under a compatible license.
>> >---
>> > common/include/Makefile.am | 5 +--
>> > common/include/iszero.h | 63 +++++++++++++...
2020 Aug 25
0
ANNOUNCE: libnbd 1.4 - high performance NBD client library
...ted in nbd_get_tls_username(3).
The handle name in nbdsh(1) is now set to "nbdsh" (instead of a
randomly generated name).
Compatibility with OCaml 4.10.0 and 4.11.0.
Python AIO buffer adds a new "is_zero" method allowing Python clients
to do sparsification when copying.
Compatibility with Python 3.9.
External C programs can now be compiled against libnbd’s build
directory using "../libnbd/run ./configure".
Honggfuzz can be used as another external fuzzing option.
Fix compilation with glibc 2.32...
2016 Jun 23
0
Re: [libvirt-users] virt-sparsify changing the apparent-size of files
Hello,
Thanks for all the information, I think my last remaining question is
why the image created with virt-install shows the full apparent size
and the image from virt-sparsify does not? (The image testimage1.qcow2
created with default options).
As they are both qcow2 I would expect them both to have the same
behavior as far as apparent size goes. Or is there an option I am
missing in virt-sparsify that would keep the full apparent size? Or
perhaps one in virt-instal...