Page 1 of 1
Swap off
Posted: 25 Apr 2023, 14:29
by XFNeo
Hi! How to disable swap on my F2-423 with TOS 5.1.33 permanently?
I do swapoff -a but after reboot it is enabled again.
Thanks
Re: Swap off
Posted: 25 Apr 2023, 18:36
by TMtina
Hello, disabling the swap partition may affect the operation of your system, we do not recommend that you permanently disable the swap partition.
Re: Swap off
Posted: 25 Apr 2023, 20:01
by XFNeo
I have ordered additional sertified 16Gb RAM and I guess I dont need a swap with 20 gb of RAM.
Re: Swap off
Posted: 25 Apr 2023, 21:45
by TMtina
If you want to permanently disable the swap partition, maybe you can find a professional operation method from the Internet. I think there are some commands that can help you complete this operation.
Re: Swap off
Posted: 26 Apr 2023, 17:07
by XFNeo
TMtina wrote: ↑25 Apr 2023, 21:45
If you want to permanently disable the swap partition, maybe you can find a professional operation method from the Internet. I think there are some commands that can help you complete this operation.
On common linux it is
swapoff -a and remove swap from
/etc/fstab
But in TOS there is no record in
/etc/fstab about swap, and after
swapoff -a and reboot TNAS, swap is enabled again.
How to disable swap permanently on TOS?