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:
Amos Blanton 2021-09-25 17:27:01 +02:00 committed by ljf (zamentur)
parent 5dacf0e3b5
commit 7b3b072295

View file

@ -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.