Is it possible for you to keep the backup for now?

If so run the following commands:
1) Keep the backup
# mv /var/lib/libvirt/images/fedora21.qcow2  /var/lib/libvirt/images/fedora21.qcow2.orig
2) Copy the resized qcow2 from thumb drive to /var/lib/libvirt/images/fedora21.qcow2
3) Boot up the VM and provide the following output:
# fdisk -l
# pvdisplay
# lvdisplay
# vgdisplay

Once this info is provided we can advise on how to expand the filesystem.

Regards,
-Jamie

On Wed, Jul 21, 2021 at 4:10 PM Peter Boy <pboy@uni-bremen.de> wrote:


> Am 21.07.2021 um 21:46 schrieb Robert Moskowitz <rgm@htt-consult.com>:
>
>>> But now the instructions I am finding seem to offer different approachs, and might not be for running on Fedora.  What is the 'best' approach forward?
>> To what instructions do you refer?
>
> How do I actually increase the partitions within the image?
>

You have (re)start the virtual machine and increase and reorganise your storage from inside the virtual machine the same way as your would do it with a physical machine.

The details depend on the current structure of your (virtual) disk. How did you originally create your VMs disk image?

Usually you may have:
Partition 1: biosboot or efi
Partition 2: Linux file system /boot
Partition 3:
   either (a) a filesystem containing all your data
   or (b) a LVM VG, containing a logical volume with a file system for root.

What is your storage structure?

You may find some Fedora specific  into at:

https://docs.fedoraproject.org/en-US/fedora-server/virtualization-vmcloud/


_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure