From Fedora Project Wiki

Revision as of 12:05, 4 April 2022 by Fifofonix (talk | contribs)

Description

Install and validate Fedora CoreOS with swap on zram enabled

Setup

  1. Download and verify the latest FCOS next image (pick the right image for your environment).
  2. Read background on zram here.
  3. Figure out how you'd like to configure your initial zram device.
  4. Read other possible post-boot tests as described here.

How to test

  1. Create an Ignition file.
  2. Configure Zram device validating instructions here.
  3. Launch your Fedora CoreOS system using this Ignition file. See the Quickstart and the provisioning docs for a guide how to launch FCOS in most environments (bare metal, virtual, cloud, etc).

Expected Results

  1. You can SSH successfully into your FCOS system.
  2. Verify the swap device is set up by viewing the swapon --show output. You can also view the true compression ratio of the currently configured zram devices by running zramctl.
  3. The linked documentation makes sense, nothing is obviously missing, and the instructions are clear.