Re: resizing qemu image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 7/21/21 3:38 PM, Peter Boy wrote:

Am 21.07.2021 um 21:29 schrieb Robert Moskowitz <rgm@xxxxxxxxxxxxxxx>:

...
qemu-img info fedora21.qcow2
image: fedora21.qcow2
file format: qcow2
virtual size: 20 GiB (21474836480 bytes)
disk size: 10 GiB
cluster_size: 65536
Format specific information:
     compat: 1.1
     lazy refcounts: true
     refcount bits: 16
     corrupt: false

That seems to be the easy part.
Seems to be OK, You should be able to continue to use it.

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?

I have looked at instructions at:

https://dnaeon.github.io/resizing-a-kvm-disk-image-on-lvm-the-hard-way/
https://unix.stackexchange.com/questions/349586/resize-qcow2-root-parition
https://unix.stackexchange.com/questions/615216/how-to-increase-the-root-partition-size-of-a-virtual-machine-used-by-gnome-boxes

But am really cautious on what to do next to actually have the larger partitions.

I tried

parted -l fedora21.qcow2


As the next step, put it just showed my physical drives.

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux