From Fedora Project Wiki

No edit summary
No edit summary
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=Install Fedora CoreOS with Zram enabled
|description=Install 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 partition your FCOS instance (it should be a non-trivial case).
# Figure out how you'd like to configure your Zram device.


|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].  
# Follow instructions on how to configure Zram [https://docs.fedoraproject.org/en-US/fedora-coreos/sysconfig-configure-swaponzram/].  
# Configure Zram device following 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).


|results=
|results=

Revision as of 11:52, 4 April 2022

Description

Install 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. Figure out how you'd like to configure your Zram device.

How to test

  1. Create an Ignition file.
  2. Configure Zram device following 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.