On Mon, Dec 7, 2020 at 3:43 PM Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:
What happens if you manually swapon? What does cat /proc/cmdline show?
Output of manual swapon:
swapon: /fedora.swap: found signature [pagesize=4096, signature=swap]
swapon: /fedora.swap: pagesize=4096, swapsize=10737418240, devsize=10737418240
swapon /fedora.swap
Output of 'cat /proc/cmdline':
$ cat /proc/cmdline
BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.8.15-301.fc33.x86_64 root=UUID=7d9dbe1b-dea6-4141-807b-026325123ad8 ro rootflags=subvol=root rd.luks.uuid=luks-1136a62b-955b-4391-b9a4-b48ab11a862d resume=/dev/disk/by-uuid/7d9dbe1b-dea6-4141-807b-026325123ad8 resume_offset=14745509888
BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.8.15-301.fc33.x86_64 root=UUID=7d9dbe1b-dea6-4141-807b-026325123ad8 ro rootflags=subvol=root rd.luks.uuid=luks-1136a62b-955b-4391-b9a4-b48ab11a862d resume=/dev/disk/by-uuid/7d9dbe1b-dea6-4141-807b-026325123ad8 resume_offset=14745509888
This isn't a great location for a swapfile on btrfs because you can't ever snapshot /. And it takes extra steps to make hibernation possible.
Why can't I snapshot / ?
The more predictable arrangement is a swap partition.
How can I have an encrypted swap partition ?
I need Full Disk Encryption, even for my swap, that's why I went with one large encrypted partition with root,home and swap all in one.
Regards,
Sreyan Chakravarty
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx