So the swapfile needs to be NOCOW before allocation [1]: # truncate -s 0 /swapfile # chattr +C /swapfile # fallocate -l 512M /swapfile
We should make the installer use these steps instead. [1] https://wiki.archlinux.org/index.php/Swap#Swap_file_creation ** Also affects: ubiquity (Ubuntu) Importance: Undecided Status: New ** Changed in: linux (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1818811 Title: The swapfile on the Btrfs file system is not activated To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1818811/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
