Swap off

CPU, memory, fan, process, services status, system log, tempreture
Locked
User avatar
XFNeo
Posts: 90
Joined: 10 Oct 2022, 23:18
Russia

Swap off

Post 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
User avatar
TMtina
TerraMaster Team
Posts: 106
Joined: 01 Nov 2022, 18:00

Re: Swap off

Post 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.
User avatar
XFNeo
Posts: 90
Joined: 10 Oct 2022, 23:18
Russia

Re: Swap off

Post by XFNeo »

I have ordered additional sertified 16Gb RAM and I guess I dont need a swap with 20 gb of RAM.
User avatar
TMtina
TerraMaster Team
Posts: 106
Joined: 01 Nov 2022, 18:00

Re: Swap off

Post 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.
User avatar
XFNeo
Posts: 90
Joined: 10 Oct 2022, 23:18
Russia

Re: Swap off

Post 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?
Locked

Return to “System Resources”