Document how to create and activate swapfiles post-install #18

Open
opened 2024-05-31 12:50:46 +00:00 by pbokoc · 0 comments
pbokoc commented 2024-05-31 12:50:46 +00:00 (Migrated from gitlab.com)

(Migrated from https://bugzilla.redhat.com/show_bug.cgi?id=1855464)

This feature means by default there will be no swap partition by default https://fedoraproject.org/wiki/Changes/SwapOnZRAM

Some folks might want/need disk based swap.

swapfiles:

  • pros: easy to setup; no reboot required; supported on btrfs, ext4, xfs; removable
  • cons: hibernation is sketchy. it should work on ext4, might work on xfs, does not work on btrfs (it can but requires a tool to find an offset, due to the lack of a standard interface across all file systems, for automatically finding the offset) https://lore.kernel.org/linux-btrfs/20200127192548.GA683123@vader/

partition:

  • pros: no limitations
  • cons: takes up space, isn't resizeable; more complicated/risky to create; requires reboot.

Notes: The installer's custom partitioning will continue to permit the creation of a swap partition and will configure for hibernation.

(Migrated from https://bugzilla.redhat.com/show_bug.cgi?id=1855464) This feature means by default there will be no swap partition by default https://fedoraproject.org/wiki/Changes/SwapOnZRAM Some folks might want/need disk based swap. swapfiles: * pros: easy to setup; no reboot required; supported on btrfs, ext4, xfs; removable * cons: hibernation is sketchy. it should work on ext4, might work on xfs, does not work on btrfs (it can but requires a tool to find an offset, due to the lack of a standard interface across all file systems, for automatically finding the offset) https://lore.kernel.org/linux-btrfs/20200127192548.GA683123@vader/ partition: * pros: no limitations * cons: takes up space, isn't resizeable; more complicated/risky to create; requires reboot. Notes: The installer's custom partitioning will continue to permit the creation of a swap partition and will configure for hibernation.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
docs-archive/sysadmin-guide#18
No description provided.