[Libguestfs] [PATCH virt-v2v 1/3] test-data/phony-guests: Increase size of root filesystem
Laszlo Ersek
lersek at redhat.com
Thu Jun 9 08:05:03 UTC 2022
On 06/08/22 18:49, Richard W.M. Jones wrote:
> Avoid this error in virt-v2v when trying to convert the phony Fedora
> guest image:
>
> [ 8.1] Checking for sufficient free disk space in the guest
> virt-v2v: error: not enough free space for conversion on filesystem
> ‘/’. 21.6 MB free < 100 MB needed
> ---
> test-data/phony-guests/make-fedora-img.pl | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/test-data/phony-guests/make-fedora-img.pl b/test-data/phony-guests/make-fedora-img.pl
> index 90492b814e..f340f4d744 100755
> --- a/test-data/phony-guests/make-fedora-img.pl
> +++ b/test-data/phony-guests/make-fedora-img.pl
> @@ -1,6 +1,6 @@
> #!/usr/bin/env perl
> # libguestfs
> -# Copyright (C) 2010-2020 Red Hat Inc.
> +# Copyright (C) 2010-2022 Red Hat Inc.
> #
> # This program is free software; you can redistribute it and/or modify
> # it under the terms of the GNU General Public License as published by
> @@ -210,7 +210,7 @@ sub init_lvm_root {
>
> $g->pvcreate ($rootdev);
> $g->vgcreate ('VG', [$rootdev]);
> - $g->lvcreate ('Root', 'VG', 32);
> + $g->lvcreate ('Root', 'VG', 256);
> $g->lvcreate ('LV1', 'VG', 32);
> $g->lvcreate ('LV2', 'VG', 32);
> $g->lvcreate ('LV3', 'VG', 64);
>
I've checked IMAGE_SIZE and PARTITIONS; this seems OK.
Reviewed-by: Laszlo Ersek <lersek at redhat.com>
More information about the Libguestfs
mailing list