mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Indicate that user may need to add vm.swapiness value if not present.
My sysctl (rpi 4, latest) does not have the value vm.swapiness in it to be changed. So clarify that the value should be changed if present, otherwise add the line.
This commit is contained in:
parent
5dacf0e3b5
commit
7b3b072295
1 changed files with 4 additions and 1 deletions
|
@ -29,7 +29,10 @@ If it is above 10:
|
||||||
sysctl vm.swappiness=10
|
sysctl vm.swappiness=10
|
||||||
nano /etc/sysctl.conf
|
nano /etc/sysctl.conf
|
||||||
```
|
```
|
||||||
And edit the value `vm.swapiness`.
|
If present, change the vm.swappiness value to 10. Otherwise add the line:
|
||||||
|
```
|
||||||
|
vm.swappiness = 10
|
||||||
|
```
|
||||||
|
|
||||||
## Storage redundancy
|
## Storage redundancy
|
||||||
In order to limit hardware failures of storage media, it can be relevant to set up a cluster of mirrored disks (RAID, ZFS). The idea here is that everything that is written to one disk will be written to the other. This way, if one fails, the other continues to work and the server is still fully functional.
|
In order to limit hardware failures of storage media, it can be relevant to set up a cluster of mirrored disks (RAID, ZFS). The idea here is that everything that is written to one disk will be written to the other. This way, if one fails, the other continues to work and the server is still fully functional.
|
||||||
|
|
Loading…
Add table
Reference in a new issue