StudyToCert

All certifications / RHCSA / Lessons

Red Hat Certified System Administrator EX200 (RHEL 10) · Domain 5: Configure local storage

Creating and enabling swap (mkswap, swapon, swapon --show) and making it persistent

▶ Watch the overview video

Last reviewed September 25, 2026 · Leer en español

Swap is disk space the kernel uses as overflow for memory. When RAM fills up, the kernel moves pages that have not been touched recently out to swap so active programs can keep running. Swap is much slower than RAM, so it is a safety net rather than a performance feature, but many workloads and the RHCSA exam expect you to add it on request. Swap can live on a partition, on a logical volume or in a file; exam tasks usually ask for a partition or a logical volume of a given size.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 6 more sections, 4 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study RHCSA for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the RHCSA study plan