From Fedora Project Wiki

No edit summary
No edit summary
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=Install and validate Fedora CoreOS with swap on Zram enabled
|description=Install and validate Fedora CoreOS with swap on zram enabled
|setup=
|setup=
# Download and verify the latest [https://getfedora.org/coreos/download?tab=metal_virtualized&stream=next FCOS <b>next</b> image] (pick the right image for your environment).
# Download and verify the latest [https://getfedora.org/coreos/download?tab=metal_virtualized&stream=next FCOS <b>next</b> image] (pick the right image for your environment).
# Figure out how you'd like to configure your Zram device.
# Read background on zram [https://www.fedoraproject.org/wiki/Changes/SwapOnZRAM here].
# Figure out how you'd like to configure your initial zram device.
# Read other possible post-boot tests as described [https://fedoraproject.org/wiki/QA:Testcase_SwapOnZRAM_customconfig here].


|actions=
|actions=
# [https://docs.fedoraproject.org/en-US/fedora-coreos/producing-ign/ Create an Ignition file].  
# [https://docs.fedoraproject.org/en-US/fedora-coreos/producing-ign/ Create an Ignition file].  
# Configure Zram device following instructions [https://docs.fedoraproject.org/en-US/fedora-coreos/sysconfig-configure-swaponzram/ here].  
# Configure Zram device validating instructions [https://docs.fedoraproject.org/en-US/fedora-coreos/sysconfig-configure-swaponzram/ here].
# Launch your Fedora CoreOS system using this Ignition file. See [https://docs.fedoraproject.org/en-US/fedora-coreos/getting-started/#_quickstart the Quickstart] and the provisioning docs for a guide how to launch FCOS in most environments (bare metal, virtual, cloud, etc).
# Launch your Fedora CoreOS system using this Ignition file. See [https://docs.fedoraproject.org/en-US/fedora-coreos/getting-started/#_quickstart the Quickstart] and the provisioning docs for a guide how to launch FCOS in most environments (bare metal, virtual, cloud, etc).



Revision as of 12:05, 4 April 2022

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.