Robustly configure suspend / lock?

You are attempting to enter hibernation, or perhaps a hybrid sleep state, and as @Erim suggests;

In fact, you are lacking any at all: :eyes:

To hibernate your system, the minimum amount of swap space recommended (for a system with 32 GB of RAM, such as yours) is ~33 GB; preferably as a swap partition though in some circumstances a swap file could be used.

A system might also benefit from a combination of both;
using zswap.

Lastly, you could choose to suspend the system instead. :eyes:

A small amount of swap would still be generally desirable (but not strictly required). A file is created on / (by default), and naturally, you would need to have sufficient space available for the file.

Or, possibly zram which dynamically grows and shrinks as required;

I hope this helps.

Regards.

3 Likes