Comment 7 for bug 1818811

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

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