There was a discussion about fallocate being deprecated for use with newer kernels (I’ll see if I can find the links, but I know there were discussions in our EOS forum on this topic a month or so ago). I also had this issue, so I can verify that this solution will work:
Please use ‘dd’ to create your swapfile, not ‘fallocate.’ That should solve this issue. The instructions are on the arch wiki under the swap file topic.
Specifies the option that need to be used by the dump (backup utility) program. If the value is set to 0, then the partition is excluded from taking backup and if the option is a nonzero value, the filesystem will be backed up.
• The sixth field (fsck)
Mentions the fsck option. That is if the value is set to zero, the device or partition will be excluded from fsck check and if it is nonzero the fsck check will be run in the order in which the value is set.
The root partition will have this value set to one (1) so that it will be checked first by fsck. If you set to two (2) that means the system to do fsck on all rest partition marked ‘2’ in sequence on system reboot.