New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
writeback-device option #139
Comments
The device must exist… Also, this option does not support files. It must be a device. Why are you trying to use this option? |
As the documentation clearly states: you can only write-back to a block device. Do you have a block device? |
Can I use a swap partition as a writeback device? example: |
The swap signature will be erased (hopefully? I haven't tried actually, it may not get erased fully, or not until something gets written back, and that'd be worse); writeback excludes all other uses. |
shame, I was hoping giving my swap partition something useful to do |
You can only use this with a block device so I would need a dedicated partition for this. systemd/zram-generator#139
I have a big problem with setting the writeback-device option correctly. I uncommented
writeback-device = /dev/zvol/tarta-zoot/swap-writeback
in/etc/systemd/zram-generator.conf
and when I restart system, it's waiting 90s and failing to create/reach this file.If I do
cat /sys/block/zram0/backing_dev
I thought files in
/dev
are created by system when its start. In zram-generator.conf man is writtenSo I created block device with command
in
/
, and created there file systemmkfs.btrfs swap-writeback.img
. But if I restart it still waiting 90s and crash.How can I do this properly?
The text was updated successfully, but these errors were encountered: