Bug 1855464 - how to create and activate swapfiles post-install
Summary: how to create and activate swapfiles post-install
Keywords:
Status: NEW
Alias: None
Product: Fedora Documentation
Classification: Fedora
Component: docs-requests
Version: devel
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Chris Murphy
QA Contact: Fedora Docs QA
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-09 23:12 UTC by Chris Murphy
Modified: 2020-07-09 23:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Chris Murphy 2020-07-09 23:12:54 UTC
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.

Comment 1 Chris Murphy 2020-07-09 23:19:37 UTC
Badgering requested.


Note You need to log in before you can comment on or make changes to this bug.