What is the latest solution for dom0 qvm-template "no space on device" problem as of 2023 under R4.1?

Dom0 root is 20G in size.

Today I attempted to install fedora-38-xfce, but got fired back by a no space on device:

Installing template 'fedora-38-xfce'...
tar: ./var/lib/qubes/vm-templates/fedora-38-xfce/root.img.part.04: Wrote only 4096 of 10240 bytes
tar: ./var/lib/qubes/vm-templates/fedora-38-xfce/vm-whitelisted-appmenus.list: Cannot write: No space left on device
tar: ./var/lib/qubes/vm-templates/fedora-38-xfce/whitelisted-appmenus.list: Cannot write: No space left on device
tar: Exiting with failure status due to previous errors

20GB can be used up quickly, some of the monsters that take up most of dom0 spaces are 6 set of dom0 kernel modules (2.2G) and appvm kernels (3.5G), also log files takes up 1G. Adding other executable files and library files which sums up around 2G, and the rpm itself 2G.

When the rpm installs, everything is untared first (untarred into like 5G), making things worse.

Some simple misoperation will make installation fail.

In general what are preferable solutions?

Also every time I install a template now, the installed vm starts and then failed to boot by timeout. Considering that nearly every new template will take a lot of time when it first boots and will be slower than normal VM, whether the boot failure will affect later operation may need to be clarified and the first boot timeout may be better relaxed.


Maybe the default dom0 size could be increased a bit to cope with templates upgrades out of the box

I try it before :point_up_2: it`s work good