Lun number under /dev/disk/by-path on RHEL6 shows different from RHEL5

Solution In Progress - Updated -

Issue

  • RHEL5.5(lun 2207)
# ls -l /dev/disk/by-path/  | grep ip
lrwxrwxrwx 1 root root  9  Jan 22 14:44 ip-<ip address>:<port number>-iscsi-iqn.2000-05.com.<vendor name>:23120002ac000933-lun-2207 -> ../../sdd
lrwxrwxrwx 1 root root  9  Jan 22 14:44 ip-<ip address>:<port number>-iscsi-iqn.2000-05.com.<vendor name>:23110002ac000933-lun-2207 -> ../../sdc
lrwxrwxrwx 1 root root  9  Jan 22 14:44 ip-<ip address>:<port number>-iscsi-iqn.2000-05.com.<vendor name>:22120002ac000933-lun-2207 -> ../../sda
lrwxrwxrwx 1 root root  9  Jan 22 14:44 ip-<ip address>:<port number>-iscsi-iqn.2000-05.com.<vendor name>:22110002ac000933-lun-2207 -> ../../sdb
  • RHEL6.5(lun 2205)
# ls -l /dev/disk/by-path/ |grep ip
lrwxrwxrwx 1 root root  9 Jan 22 13:37 ip-<ip address>:<port number>-iscsi-iqn.2000-05.com.<vendor name>:23120002ac000933-lun-0x089d000000000000 -> ../../sde
lrwxrwxrwx 1 root root  9 Jan 22 13:37 ip-<ip address>:<port number>-iscsi-iqn.2000-05.com.<vendor name>:23110002ac000933-lun-0x089d000000000000 -> ../../sdd
lrwxrwxrwx 1 root root  9 Jan 22 13:37 ip-<ip address>:<port number>-iscsi-iqn.2000-05.com.<vendor name>:22120002ac000933-lun-0x089d000000000000 -> ../../sdb
lrwxrwxrwx 1 root root  9 Jan 22 13:37 ip-<ip address>:<port number>-iscsi-iqn.2000-05.com.<vendor name>:22110002ac000933-lun-0x089d000000000000 -> ../../sdc
  • The lun number displayed in hexadecimal on RHEL6.

Environment

Red Hat Enterprise Linux 6.5
Red Hat Enterprise Linux 5.5

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.