mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2024-10-01 01:25:40 -04:00
Minor text cleanup
This commit is contained in:
parent
5e5a5d4e7d
commit
bca9ed7257
13
external/troubleshooting/out-of-memory.md
vendored
13
external/troubleshooting/out-of-memory.md
vendored
@ -21,27 +21,26 @@ If this does not work, check the size of /var/lib/qubes/qubes.xml. If it is zero
|
|||||||
|
|
||||||
In any case you'll need some disk space to start the VM. Check `df -h` output if you have some. If not, here are some hints how to free some disk space:
|
In any case you'll need some disk space to start the VM. Check `df -h` output if you have some. If not, here are some hints how to free some disk space:
|
||||||
|
|
||||||
1. Clean yum cache
|
1. Clean yum cache.
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
sudo yum clean all
|
sudo yum clean all
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
2. Delete .img files of a less important VM, that can be found in /var/lib/qubes/appvms/
|
2. Delete `.img` files of a less important VM, which can be found in `/var/lib/qubes/appvms/`.
|
||||||
|
Then, when the system is working again, clean up the rest.
|
||||||
Then, when the system is working again, cleanup the rest with:
|
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
qvm-remove <VMname>
|
qvm-remove <VMname>
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
With this method you lose the data of one VM, but it'll work more reliably.
|
With this method, you lose the data of one VM, but it'll work more reliably.
|
||||||
|
|
||||||
3. Decrease filesystem safety margin (5% by default)
|
3. Decrease the filesystem safety margin (5% by default).
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
sudo tune2fs -m 4 /dev/mapper/vg_dom0-lv_root
|
sudo tune2fs -m 4 /dev/mapper/vg_dom0-lv_root
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
4. Remove some unneeded files in dom0 home (if you have any, most likely not)
|
4. Remove some unneeded files in dom0 home (if you have any, most likely not).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user