From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description=Verify that SwapOnZRAM feature gets installed and activated properly. |actions= <ol> <li> Install `zram-generator`: <pre>sudo dnf install zram-gen...") |
Chrismurphy (talk | contribs) (this becomes the (disabled by default) test case) |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description= | |description=Test installation zram-generator only (default disabled) | ||
|actions= | |actions= | ||
<ol> | <ol> | ||
<li> Recommend removing the following packages. The swap-on-zram implementations in those packages have minor conflicts with `zram-generator`, but mostly they'll just contribute to user confusion. | |||
<pre>sudo dnf remove anaconda zram</pre> | |||
<li> Install `zram-generator`: | <li> Install `zram-generator`: | ||
<pre>sudo dnf install zram-generator | <pre>sudo dnf install zram-generator | ||
</pre> | </pre> | ||
<li> Reboot your machine | <li> Reboot your machine | ||
<li> Verify that swap-on-zram is active | <li> Verify that swap-on-zram is *not* active. | ||
<pre>$ zramctl | <pre>$ zramctl | ||
$ swapon | |||
NAME TYPE SIZE USED PRIO | NAME TYPE SIZE USED PRIO | ||
/dev/vda1 partition 500M 0B -2 | /dev/vda1 partition 500M 0B -2 | ||
</pre> | </pre> | ||
Everything should look like it usually does, because zram-generator isn't enabled by default. | |||
</ol> | </ol> | ||
|results= | |results= | ||
# The `zram-generator` is installed without issues, and | # The `zram-generator` is installed without issues, and is not activated after a reboot. | ||
}} | }} | ||
[[Category:Test Days Test Cases]] | [[Category:Test Days Test Cases]] |
Revision as of 01:05, 29 June 2020
Description
Test installation zram-generator only (default disabled)
How to test
- Recommend removing the following packages. The swap-on-zram implementations in those packages have minor conflicts with
zram-generator
, but mostly they'll just contribute to user confusion.sudo dnf remove anaconda zram
- Install
zram-generator
:sudo dnf install zram-generator
- Reboot your machine
- Verify that swap-on-zram is *not* active.
$ zramctl $ swapon NAME TYPE SIZE USED PRIO /dev/vda1 partition 500M 0B -2
Everything should look like it usually does, because zram-generator isn't enabled by default.
Expected Results
- The
zram-generator
is installed without issues, and is not activated after a reboot.