How to create/add swap space using a storage device

Solution Verified - Updated -

Issue

  • How to create swap space after installing the OS?
  • Is it possible to create swap space on SAN disks using lvm ?
  • Is it possible to create swap space on LVM disk in Red Hat Enterprise Linux?
  • How to create swap space on LVM partition after installation of Red Hat Enterprise Linux?
  • How to add additional swap device after OS installation.

Environment

  • Red Hat Enterprise Linux (RHEL) 5, 6, 7, 8, 9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content