On 12/12/22 12:08, ToddAndMargo via users wrote:
On 12/12/22 06:43, Tom Horsley wrote:
On Mon, 12 Dec 2022 06:33:15 -0800
ToddAndMargo via users wrote:
This it?
dd if=/dev/zero of=/sometempfile
Seems like that would work. Might need to do it as root in case the
kernel doesn't allow an ordinary user to use up all the free space on
a disk. And don't forget "rm /sometempfile" once the dd finishes
with out of space errors.
Of course you could take a completely different tack and use
qemu-img convert to change the qcow2 format file to a raw
disk image and modify the virtual machine to use that new file.
I qemu-img to a raw and then back to a qcows2.
Dump/resore still did not restore right.
You can't dump a qcow file because the blocks are not in order and there
is extra metadata. You can only dump from something that looks like a
raw partition. You might be able to use something like nbd to create a
device from a qcow that looks raw.
_______________________________________________
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, report it: https://pagure.io/fedora-infrastructure/new_issue