Launchpad has imported 1 comments from the remote bug at
https://bugzilla.kernel.org/show_bug.cgi?id=207809.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2020-05-21T02:17:31+00:00 alecfeldman wrote:

I followed the directions to get a swap file working on btrfs, including
using resume=swap_device and resume_offset=swap_file_offset. The
physical offset was retrieved using this script:
https://github.com/osandov/osandov-
linux/blob/master/scripts/btrfs_map_physical.c. I then divided the
physical offset by the page size to get the resume offset. Hibernating
into a swap file only works the first time after creation. Every
subsequent hibernation leads my system to boot as if it were not
resuming. Hibernating can also cause the backing device to unattach from
the caching device, leading to an unbootable system. I then have to
forcefully recreate the cache in order to fix it. Eventually, the above
happens, but the filesystem also becomes corrupted as I can no longer
reattatch the cache. This can be reproduced on any setup with bcache,
btrfs on the cache, and a swap file on the btrfs system. I am not sure
if this affects other filesystems.

Reply at: https://bugs.launchpad.net/ubuntu/+source/bcache-
tools/+bug/1878340/comments/4


** Changed in: bcache-tools
       Status: Unknown => Confirmed

** Changed in: bcache-tools
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878340

Title:
  Backing device unattaches from caching device when hibernating into a
  swap file

To manage notifications about this bug go to:
https://bugs.launchpad.net/bcache-tools/+bug/1878340/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to