Swap partition or Swap file on external USB HDD insteand of ZRAM

Hi,
I have HassOS installend on a Raspberry PI 3, and I have moved my data partition to an external USB HDD.
Whit this configuration, is it possible to have the swap area on the HDD instead of using ZRAM?
I’d like to use a swap partition or a swap file in the external HDD with the possibility to change the swap size.

Tankyou in advance

1 Like

Try this out:

Tanks, I’ll try it