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 <ler...@redhat.com> _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://listman.redhat.com/mailman/listinfo/libguestfs