Sample Header Ad - 728x90

Using hibernate with bcache

2 votes
1 answer
117 views
I have writethrough bcache working on Debian Sid with an underlying LUKS + LVM. My swap partition (already present) is lying unused as an LVM volume. I know that I am supposed to stop bcache before hibernation (suspend to disk), and resume bcache after resume (cannot be active during either). How exactly do I ensure that? Are there are any pre- and post- scripts for this? If so, how should stop and restart bcache. All that echo n > /sys ... business can go remarkably awry if one does not know what one is doing. Getting hibernation working is the last pending thing after the install.
Asked by user2751530 (156 rep)
Feb 19, 2022, 08:06 PM
Last activity: Jul 31, 2025, 08:50 AM