Changes for page libvirt
Last modified by Sebastian Marsching on 2023/05/16 20:12
From version 12.1
edited by Sebastian Marsching
on 2023/05/16 20:07
on 2023/05/16 20:07
Change comment:
There is no comment for this version
To version 14.1
edited by Sebastian Marsching
on 2023/05/16 20:12
on 2023/05/16 20:12
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -57,9 +57,9 @@ 57 57 58 58 This will create an XML file with the VM configuration and a QCOW2 file for each disk in `/path/to/destination/dir`. The XML file can be adjusted and then imported using `virsh define`. 59 59 60 -# Recovering unused space from a virtual disk images 60 +# Recovering unused space from a virtual disk images{{id name="virt-sparsify"/}} 61 61 62 -libvirt offers a utility called virt-sparsify, which helps with recovering unused space from virtual disk images, reducing their size on disk. This is particularly useful with images in the QCOW2 format. 62 +libvirt offers a utility called `virt-sparsify`, which helps with recovering unused space from virtual disk images, reducing their size on disk. This is particularly useful with images in the QCOW2 format. 63 63 64 64 The utility can either be used in-place or create a new image. In either case, the virtual machine has to be shutdown before starting the process. To use the in-place variant, use the following command: 65 65