systemd / zram-generator

Systemd unit generator for zram devices
MIT License
585 stars 50 forks source link

writeback device - prerequisites #163

Closed cmonty14 closed 2 years ago

cmonty14 commented 2 years ago

Hello, according to linux kernel guide zram can write idle/incompressible page to backing storage, but it supports only partitions at this moment.

I have a partition /dev/sda2 used as swap before.

What is the prerequisite to use this partition in zram as writeback device? Means, must I format this partition?

THX

nabijaczleweli commented 2 years ago

There are none, and you don't – whatever data you have there will be destroyed regardless as part of writeback.

cmonty14 commented 2 years ago

Thanks for sharing this info.