From 9bbaca05cffba1d87b58518e50329746dfd2d231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 27 Jan 2015 00:24:27 +0000 Subject: [PATCH] FedoraTemplateUpgrade changed Add info about qvm-trim-template tool --- FedoraTemplateUpgrade.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FedoraTemplateUpgrade.md b/FedoraTemplateUpgrade.md index d73d9228..93e006cc 100644 --- a/FedoraTemplateUpgrade.md +++ b/FedoraTemplateUpgrade.md @@ -48,6 +48,8 @@ Compacting templates root.img fstrim, nor "discard" mount option do not work on template root fs, so when some file is removed in the template, space isn't freed in dom0. This means that template will use about twice a space that is really need after upgrade. +**If you have at least `qubes-core-dom0-2.1.68` installed, you can use `qvm-trim-template` tool. Otherwise use instructions below.** + You can compact root.img in the "old way", you'll need about 15GB (template's max size + really used space there) in dom0 for this operation: Start the template, fill all the free space with zeros, for example with: ``` {.wiki}