OPNsense Forum

English Forums => General Discussion => Topic started by: @lex on March 24, 2021, 04:16:16 PM

Title: Increase SWAP ?
Post by: @lex on March 24, 2021, 04:16:16 PM
Hi,

Is it possible to increase the SWAP size on an existing and running installation ?

If so, can you please provide the steps ?
If not, I need to reinstall and restore my config backup then ?

Thanks,
@lex
Title: Re: Increase SWAP ?
Post by: @lex on March 26, 2021, 04:12:32 PM
No one ?
Title: Re: Increase SWAP ?
Post by: franco on March 26, 2021, 07:43:26 PM
We never touch /etc/fstab so this applies easily:

https://people.freebsd.org/~rodrigc/doc/data/doc/en_US.ISO8859-1/books/handbook/adding-swap-space.html

The additional swap file is probably the least destructive approach (and the best one for flash storage).


Cheers,
Franco