From Fedora Project Wiki
(Redirected from QA:Testcase SwapOnZRAM installation)
Description
Test installation of zram-generator
only (disabled by default)
How to test
- We recommend to remove 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
should produce no output andswapon
should only list your pre-existing swap partitions (if you had any) and nozram
device. In other words, everything should look like it usually does, becausezram-generator
isn't enabled by default. Example:$ zramctl $ swapon NAME TYPE SIZE USED PRIO /dev/vda1 partition 500M 0B -2
Expected Results
- The
zram-generator
is installed without issues, and is not activated after a reboot.