[Libguestfs] [PATCH virt-v2v 1/3] test-data/phony-guests: Increase size of root filesystem

Richard W.M. Jones rjones at redhat.com
Wed Jun 8 16:49:00 UTC 2022


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);
-- 
2.35.1



More information about the Libguestfs mailing list