Is it possible to have the same swap device names in RHEL 6 as the ones presented in RHEL 5?

Solution In Progress - Updated -

Issue

  • The command 'swapon -s' shows /dev/mapper devices in its output:
[root@rhel5 ~]# swapon -s
Filename                                Type            Size    Used    Priority
/dev/mapper/vg00-swap1                  partition       2031608 377632  -1
/dev/mapper/vg01-swap                   partition       15728632        0
  • While the same command shows /dev/dm-X devices in RHEL 6:
[root@rhel6 ~]# swapon -s
Filename                                Type            Size    Used    Priority
/dev/dm-0                               partition       3080184 0       -1
/dev/dm-9                               partition       1048568 0       -2
/dev/dm-10                              partition       131064  0       -3

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.