mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2024-10-01 01:25:40 -04:00
FedoraTemplateUpgrade changed
Add a note about disk space requirement
This commit is contained in:
parent
9da6887102
commit
0581f08992
@ -48,7 +48,7 @@ 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.
|
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.
|
||||||
|
|
||||||
You can compact root.img in the "old way": Start the template, fill all the free space with zeros, for example with:
|
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}
|
``` {.wiki}
|
||||||
dd if=/dev/zero of=/var/tmp/zero
|
dd if=/dev/zero of=/var/tmp/zero
|
||||||
|
Loading…
Reference in New Issue
Block a user