Additional SWAP space not being activated after reboot of server

Solution Verified - Updated -

Issue

  • The system is unable to automatically activate swap created on multipath devices after reboot:

    $ cat /etc/fstab |grep -i swap|grep -i mpath
    /dev/mapper/mpath18        swap                    swap    sw,pri=60        0 0
    

    o Once the system has finished boot process, swap filesystem created over multipath device could be activated manually using following command:

    $ swapon -v -p 60 /dev/mapper/mpath18
    

Environment

  • Red Hat Enterprise Linux 5, 6
  • swap filesystem created over multipath device

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