Notepad:KVM

From Amar Wiki
Revision as of 18:24, 10 May 2024 by Lax (talk | contribs) (KVM: Shrink QCOW2)

From: HowTos | KVM

KVM

Networking - brctl

systemd-networkd

Start/Start libvirtd

Virtual Shell virsh

virsh man

Transfer Running Machines

Expand the size of QCOW2 disk

Expand the size of a QCOW2 disk image

Shrink a QCOW2 disk

Clear the empty space

sudo dd if=/dev/zero of=/zerofile bs=1M
sudo rm -f /zerofile

or

sdelete.exe -z C:

Then change the size

qemu-img convert -O qcow2 -c input.qcow2 output.qcow2



← Back to Notepad



© 2000-2025 Jacques Amar Amar Micro Inc.