Swap: Difference between revisions
m →Zswap swap cache: add note of needing to enable systemd for using lz4 |
Artoria2e5 (talk | contribs) →Zram writeback: os error 16 |
||
Line 67: | Line 67: | ||
cat /sys/block/zram0/backing_dev | cat /sys/block/zram0/backing_dev | ||
</syntaxhighlight> | </syntaxhighlight> | ||
If you see an error entry like | |||
<pre> | |||
Jul 08 17:14:50 COMPUTER zram-generator[3056]: Error: Failed to configure write-back device into /sys/block/zram0/backing_dev | |||
Jul 08 17:14:50 COMPUTER zram-generator[3056]: Caused by: | |||
Jul 08 17:14:50 COMPUTER zram-generator[3056]: Device or resource busy (os error 16) | |||
</pre> | |||
This is probably because the writeback device has already been used as swap. To avoid this you need to do as the [[#Disable swap]] section says and make sure your writeback device is not being mounted as swap (this can happen due to <code>systemd-gpt-auto-generator(8)</code>). | |||
== Zswap swap cache == | == Zswap swap cache == |