Determine Storage LUN ID

Solution Unverified - Updated -

Issue

  • What native Linux OS command(s) do I use to get the same storage LUN ID {internal EMC identifier} that EMC inq provides? For example, EMC inq shows me that the storage LUN ID is 3929 for the following multipath device:

# /opt/sa/sa_tools/inq.linux -nodots | grep /dev/dm-193
/dev/dm-193     :EMC     :SYMMETRIX       :5874  :3803929000 :    35654400

# /opt/sa/sa_tools/inq.linux -nodots | grep /dev/dm-193 | awk '{print $1"  "substr($5,5,4)}'
/dev/dm-193  3929


Multipath device showing SCSI standard WWID (World Wide unique IDentifier):

            mpathde (360000970000192606438533033393239) dm-193 EMC,SYMMETRIX
            size=34G features='1 queue_if_no_path' hwhandler='0' wp=rw
            `-+- policy='service-time 0' prio=1 status=active
              |- 5:0:1:96 sdct 70:16   active ready running
              `- 7:0:1:96 sdgm 132:32  active ready running
  • How do I get the internal storage LUN identifier 3929 using native Linux OS command(s)?

Environment

  • Red Hat Enterprise Linux (RHEL) 6.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.